diff src/tft_outputs.asm @ 339:692903c50788

minor: fix calc_deko_divemode_sensor
author heinrichsweikamp
date Fri, 03 Jul 2015 15:08:15 +0200
parents 508d7fb98b34
children 0740bd920c51
line wrap: on
line diff
--- a/src/tft_outputs.asm	Fri Jul 03 14:47:04 2015 +0200
+++ b/src/tft_outputs.asm	Fri Jul 03 15:08:15 2015 +0200
@@ -2334,8 +2334,9 @@
     STRCAT_TEXT tbar
     movff   opt_ccr_mode,WREG               ; =0: Fixed SP, =1: Sensor,  =2: Auto SP
     sublw   .1                              ; opt_ccr_mode = 1 (Sensor)?
-    bnz     $+4                             ; No, skip
+    bnz     TFT_active_setpoint2_a          ; No, skip
     PUTC    "*"
+TFT_active_setpoint2_a:
 	STRCAT_PRINT ""
     return
 
@@ -2365,8 +2366,9 @@
     STRCAT_TEXT tbar
     movff   opt_ccr_mode,WREG               ; =0: Fixed SP, =1: Sensor,  =2: Auto SP
     sublw   .1                              ; opt_ccr_mode = 1 (Sensor)?
-    bnz     $+4                             ; No, skip
+    bnz     TFT_active_setpoint_a            ; No, skip
     PUTC    "*"
+TFT_active_setpoint_a:
 	STRCAT_PRINT ""
 	bcf     win_invert                  ; Reset invert flag