diff 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
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_reset.asm	Sat Apr 21 15:08:09 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/menu_reset.asm	Sun Apr 22 14:38:10 2012 +0200
@@ -238,16 +238,9 @@
 	call	PLED_reset_menu_mask
 
 menu_reset2:
-	clrf	timeout_counter2
-	bcf		sleepmode
-	bcf		menubit2
-	bcf		menubit3
-	bsf		menubit
-	bsf		cursor
+	call	menu_pre_loop_common		; Clear some menu flags, timeout and switches
 	call	PLED_reset_menu_mask
 	call	PLED_menu_cursor
-	bcf		switch_left
-	bcf		switch_right
 menu_reset_loop:
 	call	check_switches_menu
 	btfsc	menubit2