diff src/tft_outputs.asm @ 564:54346c651b6a

bring digital S8 HUD back to life...
author heinrichsweikamp
date Mon, 05 Feb 2018 17:59:55 +0100
parents b7eb98dbd800
children b8f45b57302d
line wrap: on
line diff
--- a/src/tft_outputs.asm	Sat Feb 03 17:02:23 2018 +0100
+++ b/src/tft_outputs.asm	Mon Feb 05 17:59:55 2018 +0100
@@ -1623,11 +1623,11 @@
 TFT_menu_calibrate:     				; update mV data in calibration menu
 	btfss   s8_digital					; =1: Digital I/O
 	bra     TFT_menu_calibrate_analog	; use analog
-TFT_menu_calibrate_wait:
-	btfss   new_s8_data_available       ; =1: New data frame recieved
-    bra		TFT_menu_calibrate_wait
+	btfss   new_s8_data_available       ; New data frame recieved?
+	bra	TFT_menu_calibrate_common   ; No, use old values...
+	; Yes. Update the values
 	call	compute_mvolts_for_all_sensors
-	bra		TFT_menu_calibrate_common
+	bra	TFT_menu_calibrate_common
 TFT_menu_calibrate_analog:
 	call    get_analog_inputs
 TFT_menu_calibrate_common: