summaryrefslogtreecommitdiff
path: root/home/handshake.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2019-05-25 13:54:29 -0400
committerGitHub <noreply@github.com>2019-05-25 13:54:29 -0400
commite8ddecd0eb1b79f2436f1ea8a0f2163bedec7550 (patch)
tree0d512816b512f747fe7c8e795df4ca34f8efaec0 /home/handshake.asm
parentb24cd55f968909c3ec29c6455a32463c987f3063 (diff)
parent476f9ba40d5b59fd724ac1234b34448df372d52c (diff)
Merge pull request #636 from mid-kid/patch
Small cleanups
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