Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 474:2880aa1264f5
Fix new battery menu on Power-on reset
author | heinrichsweikamp |
---|---|
date | Wed, 04 Jan 2017 15:04:42 +0100 |
parents | 4fdf6886004b |
children | 237afdfb4918 |
comparison
equal
deleted
inserted
replaced
473:c6f36c55b4f6 | 474:2880aa1264f5 |
---|---|
1596 STRCAT_TEXT_PRINT tPercent | 1596 STRCAT_TEXT_PRINT tPercent |
1597 return ; Done. | 1597 return ; Done. |
1598 | 1598 |
1599 global TFT_debug_output | 1599 global TFT_debug_output |
1600 TFT_debug_output: | 1600 TFT_debug_output: |
1601 return | 1601 WIN_TINY .80,.0 |
1602 | 1602 call TFT_standard_color |
1603 ; WIN_TINY .80,.0 | 1603 lfsr FSR2,buffer |
1604 ; call TFT_standard_color | 1604 movff analog_sw1,lo |
1605 ; lfsr FSR2,buffer | 1605 output_8 |
1606 ; | 1606 PUTC "," |
1607 ; movff battery_acumulated_charge+0,lo | 1607 movff analog_sw2,lo |
1608 ; movff battery_acumulated_charge+1,hi | 1608 output_8 |
1609 ; output_16 | 1609 STRCAT_PRINT "" |
1610 ; PUTC "," | |
1611 ; movff gauge_status_byte,lo | |
1612 ; output_8 | |
1613 ; movff analog_sw1,lo | |
1614 ; output_8 | |
1615 ; PUTC "," | |
1616 ; movff analog_sw2,lo | |
1617 ; output_8 | |
1618 | |
1619 ; STRCAT_PRINT "" | |
1620 return | 1610 return |
1621 | 1611 |
1622 global TFT_divetimeout ; Show timeout counter | 1612 global TFT_divetimeout ; Show timeout counter |
1623 TFT_divetimeout: | 1613 TFT_divetimeout: |
1624 call TFT_warning_set_window ; Sets the row and column for the current warning | 1614 call TFT_warning_set_window ; Sets the row and column for the current warning |