summaryrefslogtreecommitdiff
path: root/home/handshake.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/handshake.asm')
-rw-r--r--home/handshake.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/handshake.asm b/home/handshake.asm
index 44c659496..ee01cfadb 100644
--- a/home/handshake.asm
+++ b/home/handshake.asm
@@ -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