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

faster font display, code cleaning
author heinrichsweikamp
date Sun, 22 Apr 2012 14:38:10 +0200
parents 101fec6a6137
children 1b021a280e15
comparison
equal deleted inserted replaced
575:cbdcbbc91877 576:ab2686087bce
236 236
237 call PLED_ClearScreen 237 call PLED_ClearScreen
238 call PLED_reset_menu_mask 238 call PLED_reset_menu_mask
239 239
240 menu_reset2: 240 menu_reset2:
241 clrf timeout_counter2 241 call menu_pre_loop_common ; Clear some menu flags, timeout and switches
242 bcf sleepmode
243 bcf menubit2
244 bcf menubit3
245 bsf menubit
246 bsf cursor
247 call PLED_reset_menu_mask 242 call PLED_reset_menu_mask
248 call PLED_menu_cursor 243 call PLED_menu_cursor
249 bcf switch_left
250 bcf switch_right
251 menu_reset_loop: 244 menu_reset_loop:
252 call check_switches_menu 245 call check_switches_menu
253 btfsc menubit2 246 btfsc menubit2
254 bra do_menu_reset ; call submenu 247 bra do_menu_reset ; call submenu
255 btfss menubit 248 btfss menubit