You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Define SERIAL_LINK_BYTE_TIMEOUT
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user