summaryrefslogtreecommitdiff
path: root/home/serial.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/serial.asm')
-rw-r--r--home/serial.asm5
1 files changed, 3 insertions, 2 deletions
diff --git a/home/serial.asm b/home/serial.asm
index 40cdc8c33..f6e9e7db7 100644
--- a/home/serial.asm
+++ b/home/serial.asm
@@ -191,9 +191,10 @@ Serial_ExchangeByte::
sub 1 << SERIAL
jr nz, .non_serial_interrupts_enabled
- ; a == LOW($5000)
+ ; a == 0
+ assert LOW(SERIAL_LINK_BYTE_TIMEOUT) == 0
ld [wLinkByteTimeout], a
- ld a, HIGH($5000)
+ ld a, HIGH(SERIAL_LINK_BYTE_TIMEOUT)
ld [wLinkByteTimeout + 1], a
.non_serial_interrupts_enabled