Fix usage of rIE and rSC constants
This commit is contained in:
@@ -32,11 +32,11 @@ AskSerial::
|
||||
ldh [rSB], a
|
||||
|
||||
; switch to internal clock
|
||||
ld a, %00000001
|
||||
ld a, (0 << rSC_ON) | (1 << rSC_CLOCK)
|
||||
ldh [rSC], a
|
||||
|
||||
; start transfer
|
||||
ld a, %10000001
|
||||
ld a, (1 << rSC_ON) | (1 << rSC_CLOCK)
|
||||
ldh [rSC], a
|
||||
|
||||
ret
|
||||
|
Reference in New Issue
Block a user