Mercurial > public > hwos_code
diff src/menu_processor.asm @ 62:e7c7c7eeea58
show battery voltage in info menu
author | heinrichsweikamp |
---|---|
date | Fri, 10 Jan 2014 10:11:43 +0100 |
parents | ec4d8503ec45 |
children | 53b64c5472e1 |
line wrap: on
line diff
--- a/src/menu_processor.asm Wed Dec 04 17:17:55 2013 +0100 +++ b/src/menu_processor.asm Fri Jan 10 10:11:43 2014 +0100 @@ -21,6 +21,7 @@ #include "divemode.inc" #include "tft_outputs.inc" #include "eeprom_rs232.inc" +#include "adc_lightsensor.inc" ;NOTE: should be idenric in .inc and .asm ! #define MENU_LINES_MAX .7 ; Number of lines per screen? @@ -314,6 +315,7 @@ call timeout_surfmode ; timeout call set_dive_modes ; check, if divemode must be entered + call get_battery_voltage ; gets battery voltage btfsc settime_setdate ; In the Set Time or Set Date menu? call TFT_show_time_date_menu ; Yes, update clock