diff src/comm.asm @ 255:ad62dff7739a

add bearing option to compass
author heinrichsweikamp
date Mon, 23 Mar 2015 17:07:57 +0100
parents d912fb71d606
children 1207cf9a9408
line wrap: on
line diff
--- a/src/comm.asm	Fri Mar 20 10:16:49 2015 +0100
+++ b/src/comm.asm	Mon Mar 23 17:07:57 2015 +0100
@@ -941,14 +941,11 @@
     movff   opt_cR_button_right, TXREG1     ; RCREG1=0x3B
 
 comm_read_abort:
+comm_read_done:
     bra		comm_download_mode0             ; Done. Loop with timeout reset
 
 comm_read_setting_wait:
-    call	rs232_wait_tx					; Wait for UART
-    return
-
-comm_read_done:
-    bra		comm_download_mode0             ; Done. Loop with timeout reset
+    goto    rs232_wait_tx					; Wait for UART (and return!)
 
 comm_read_gas1:
     movff   opt_gas_O2_ratio+0, TXREG1