summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--software/idm/idm.asm3
1 files changed, 3 insertions, 0 deletions
diff --git a/software/idm/idm.asm b/software/idm/idm.asm
index e039861..b0bce9a 100644
--- a/software/idm/idm.asm
+++ b/software/idm/idm.asm
@@ -170,9 +170,12 @@ int_spi
btfsc STATUS,Z
goto int_spi_r
;; other commands
+ bcf CMD_READ
goto int_end
int_spi_0
+ btfss CMD_READ
+ goto int_end
call rbuf_next
movf INDFR,w
btfss UNDERRUN