chg: testing to switch from WaitXX calls to SpinDelay, they seem to mess up

This commit is contained in:
Chris 2018-07-06 09:10:13 +02:00
commit fff2f51cfb
2 changed files with 11 additions and 18 deletions

View file

@ -154,7 +154,7 @@ bool Flash_CheckBusy(uint16_t times) {
while (times) {
WDT_HIT();
WaitMS(1);
SpinDelay(1);
ret = (Flash_ReadStat1() & BUSY);
if (!ret)
break;