Mercurial > public > hwos_code
comparison src/tft_outputs.asm @ 615:b87f23fae743
work on new battery menu
author | heinrichsweikamp |
---|---|
date | Sat, 02 Feb 2019 17:39:44 +0100 |
parents | d866684249bd |
children | 1ad0531e9078 |
comparison
equal
deleted
inserted
replaced
614:a32212cd5ea9 | 615:b87f23fae743 |
---|---|
2608 btfsc cv_active | 2608 btfsc cv_active |
2609 movlw color_green | 2609 movlw color_green |
2610 btfsc cc_active | 2610 btfsc cc_active |
2611 call TFT_set_color | 2611 call TFT_set_color |
2612 | 2612 |
2613 ; Setup Temperature warning | |
2614 btfsc battery_overtemp | |
2615 bsf win_invert | |
2616 btfsc battery_overtemp | |
2617 movlw color_red | |
2618 btfsc battery_overtemp | |
2619 call TFT_set_color | |
2620 | |
2613 IFDEF _ostc_logo | 2621 IFDEF _ostc_logo |
2614 WIN_TINY batt_percent_column,batt_percent_row | 2622 WIN_TINY batt_percent_column,batt_percent_row |
2615 ELSE | 2623 ELSE |
2616 WIN_SMALL batt_percent_column+.2,batt_percent_row | 2624 WIN_SMALL batt_percent_column+.2,batt_percent_row |
2617 ENDIF | 2625 ENDIF |