Mercurial > public > hwos_code
diff src/tft_outputs.asm @ 62:e7c7c7eeea58
show battery voltage in info menu
author | heinrichsweikamp |
---|---|
date | Fri, 10 Jan 2014 10:11:43 +0100 |
parents | 1464cd73d184 |
children | 7815bf21d353 |
line wrap: on
line diff
--- a/src/tft_outputs.asm Wed Dec 04 17:17:55 2013 +0100 +++ b/src/tft_outputs.asm Fri Jan 10 10:11:43 2014 +0100 @@ -2812,6 +2812,20 @@ bcf leftbind return +; For the Information menu: Append battery voltage + global info_menu_battery_volts + extern tBatteryV +info_menu_battery_volts: + lfsr FSR1,tBatteryV + call strcat_text + movff batt_voltage+1,hi + movff batt_voltage+0,lo + bsf leftbind + output_16dp .2 ; x.xxx + bcf leftbind + PUTC "V" + return + ;----------------------------------------------------------------------------- ; ppO2 menu global divesets_ppo2_max