comparison 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
comparison
equal deleted inserted replaced
338:2811932b4e99 339:692903c50788
2332 output_16dp d'3' 2332 output_16dp d'3'
2333 bcf leftbind 2333 bcf leftbind
2334 STRCAT_TEXT tbar 2334 STRCAT_TEXT tbar
2335 movff opt_ccr_mode,WREG ; =0: Fixed SP, =1: Sensor, =2: Auto SP 2335 movff opt_ccr_mode,WREG ; =0: Fixed SP, =1: Sensor, =2: Auto SP
2336 sublw .1 ; opt_ccr_mode = 1 (Sensor)? 2336 sublw .1 ; opt_ccr_mode = 1 (Sensor)?
2337 bnz $+4 ; No, skip 2337 bnz TFT_active_setpoint2_a ; No, skip
2338 PUTC "*" 2338 PUTC "*"
2339 TFT_active_setpoint2_a:
2339 STRCAT_PRINT "" 2340 STRCAT_PRINT ""
2340 return 2341 return
2341 2342
2342 TFT_active_setpoint: ; Show setpoint 2343 TFT_active_setpoint: ; Show setpoint
2343 WIN_STD dm_active_gas_column, dm_active_gas_row 2344 WIN_STD dm_active_gas_column, dm_active_gas_row
2363 output_16dp d'3' 2364 output_16dp d'3'
2364 bcf leftbind 2365 bcf leftbind
2365 STRCAT_TEXT tbar 2366 STRCAT_TEXT tbar
2366 movff opt_ccr_mode,WREG ; =0: Fixed SP, =1: Sensor, =2: Auto SP 2367 movff opt_ccr_mode,WREG ; =0: Fixed SP, =1: Sensor, =2: Auto SP
2367 sublw .1 ; opt_ccr_mode = 1 (Sensor)? 2368 sublw .1 ; opt_ccr_mode = 1 (Sensor)?
2368 bnz $+4 ; No, skip 2369 bnz TFT_active_setpoint_a ; No, skip
2369 PUTC "*" 2370 PUTC "*"
2371 TFT_active_setpoint_a:
2370 STRCAT_PRINT "" 2372 STRCAT_PRINT ""
2371 bcf win_invert ; Reset invert flag 2373 bcf win_invert ; Reset invert flag
2372 2374
2373 TFT_active_setpoint_diluent: 2375 TFT_active_setpoint_diluent:
2374 call TFT_standard_color 2376 call TFT_standard_color