Post increment makes that we send 65 bytes.

Reported by Daroou.
This commit is contained in:
David Gálvez
2016-02-16 15:21:30 +00:00
parent ff3f16f13e
commit 6a2b47d896

View File

@@ -262,7 +262,7 @@ bool pic_interrupt_handler(void *arg1, void *arg2)
{ {
*rtc_reg = index; *rtc_reg = index;
write_pic_byte(*rtc_data); write_pic_byte(*rtc_data);
} while (index++ < 64); } while (++index < 64);
} }
return true; return true;
} }