mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-06-02 09:46:34 +03:00
Crisp up comment
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user