comparison code_part1/OSTC_code_asm_part1/menu_battery.asm @ 576:ab2686087bce

faster font display, code cleaning
author heinrichsweikamp
date Sun, 22 Apr 2012 14:38:10 +0200
parents cbdcbbc91877
children e7b675c28896
comparison
equal deleted inserted replaced
575:cbdcbbc91877 576:ab2686087bce
132 movff EEDATA,convert_value_temp+1 132 movff EEDATA,convert_value_temp+1
133 read_int_eeprom d'63' ; Year 133 read_int_eeprom d'63' ; Year
134 movff EEDATA,convert_value_temp+2 134 movff EEDATA,convert_value_temp+2
135 call PLED_convert_date ; coverts into "DD/MM/YY" or "MM/DD/YY" or "YY/MM/DD" in postinc2 135 call PLED_convert_date ; coverts into "DD/MM/YY" or "MM/DD/YY" or "YY/MM/DD" in postinc2
136 STRCAT_PRINT ") " 136 STRCAT_PRINT ") "
137 137
138 bcf switch_left 138 call wait_switches ; Waits until switches are released, resets flag if button stays pressed!
139 bcf switch_right
140 bcf menubit2 139 bcf menubit2
141 menu_battery_state_loop: 140 menu_battery_state_loop:
142 call check_switches_logbook 141 call check_switches_logbook
143 142
144 btfsc menubit2 143 btfsc menubit2