diff options
author | mid-kid <esteve.varela@gmail.com> | 2019-05-05 18:14:46 +0200 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2019-05-25 17:59:50 +0200 |
commit | 13cfe356d678c69aa5a5e19409408f25a38352cf (patch) | |
tree | 25e692178a2836d9d2a36f97bc94729c80d93cfb /home/handshake.asm | |
parent | 40766b9a76582c6472959e6ff99ba088b150baca (diff) |
Fix usage of rIE and rSC constants
Diffstat (limited to 'home/handshake.asm')
-rw-r--r-- | home/handshake.asm | 4 |
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 |