Mercurial > public > hwos_code
diff src/tft_outputs.asm @ 466:7f4c3b2e6bb7
battery gauge handling
author | heinrichsweikamp |
---|---|
date | Sat, 19 Nov 2016 18:37:47 +0100 |
parents | 025a0ce21f8b |
children | 9edb1359ce43 |
line wrap: on
line diff
--- a/src/tft_outputs.asm Fri Nov 18 10:49:32 2016 +0100 +++ b/src/tft_outputs.asm Sat Nov 19 18:37:47 2016 +0100 @@ -1598,16 +1598,25 @@ global TFT_debug_output TFT_debug_output: - WIN_TINY .80,.0 - call TFT_standard_color - lfsr FSR2,buffer - movff analog_sw1,lo - output_8 - PUTC "," - movff analog_sw2,lo - output_8 - - STRCAT_PRINT "" + return + +; WIN_TINY .80,.0 +; call TFT_standard_color +; lfsr FSR2,buffer +; +; movff battery_acumulated_charge+0,lo +; movff battery_acumulated_charge+1,hi +; output_16 +; PUTC "," +; movff gauge_status_byte,lo +; output_8 +; movff analog_sw1,lo +; output_8 +; PUTC "," +; movff analog_sw2,lo +; output_8 + +; STRCAT_PRINT "" return global TFT_divetimeout ; Show timeout counter