Crisp up comment

This commit is contained in:
stefanrueger
2025-06-20 23:14:48 +02:00
parent 251d65c95f
commit 152ff97a73

View File

@@ -1629,7 +1629,7 @@ static int pickit5_isp_write_fuse(const PROGRAMMER *pgm, const AVRMEM *mem, unsi
pmsg_error("write fuse script failed\n");
return -1;
}
if(0x01 != my.rxBuf[20]) { // Length
if(0x01 != my.rxBuf[20]) { // Length
pmsg_error("write fuse script did not receive a status response\n");
return -1;
}
@@ -1638,13 +1638,11 @@ static int pickit5_isp_write_fuse(const PROGRAMMER *pgm, const AVRMEM *mem, unsi
return -1;
}
/* fix slow AVRs without write status polling. Performance impact shouldn't be
* noticable, as it's just for fuse writes and less then 10ms per fuse
*/
// Support slow AVRs without write status polling (won't affect performance)
int delay = mem->min_write_delay;
if (delay > 0) {
if (delay > 0)
usleep(delay);
}
return 1;
}