From a97cebe1409f349d78724e284fdba733269f05dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20G=C3=A1lvez?= Date: Tue, 16 Feb 2016 15:21:30 +0000 Subject: [PATCH] Post increment makes that we send 65 bytes. Reported by Daroou. --- sys/interrupts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/interrupts.c b/sys/interrupts.c index 531cc56..5602783 100644 --- a/sys/interrupts.c +++ b/sys/interrupts.c @@ -262,7 +262,7 @@ bool pic_interrupt_handler(void *arg1, void *arg2) { *rtc_reg = index; write_pic_byte(*rtc_data); - } while (index++ < 64); + } while (++index < 64); } return true; }