diff src/tft_outputs.asm @ 187:669b5d00706d

CHANGE: Longer timeout (4 min) for calibration menu Ignore 1,2mV noise for not-connected inputs
author heinrichsweikamp
date Sat, 25 Oct 2014 15:28:18 +0200
parents abc429e8b46a
children ebc28381f17d
line wrap: on
line diff
--- a/src/tft_outputs.asm	Wed Oct 22 18:09:01 2014 +0200
+++ b/src/tft_outputs.asm	Sat Oct 25 15:28:18 2014 +0200
@@ -1142,8 +1142,8 @@
     bcf     leftbind
     return
 
-    global  TFT_menu_hud2
-TFT_menu_hud2:            ; Yes, update mV data
+    global  TFT_menu_calibrate
+TFT_menu_calibrate:     ; update mV data in calibration menu
     call    TFT_attention_color         ; show in yellow
     bsf     leftbind
     WIN_SMALL   surf_menu_sensor1_column,surf_menu2_sensor1_row
@@ -1161,6 +1161,12 @@
     movff   o2_mv_sensor3+1,hi      ; in 0.1mV steps
     output_16dp  .4         ; xxx.y mV
     STRCAT_PRINT "mV  "
+;    WIN_SMALL   surf_menu2_ambient_column,surf_menu2_ambient_row
+;    PUTC    "@"
+;    SAFE_2BYTE_COPY amb_pressure, lo
+;    output_16
+;    STRCAT_TEXT tMBAR     ; mbar
+;    STRCAT_PRINT " "
     call    TFT_standard_color
     bcf     leftbind
     return