diff 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
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_battery.asm	Sat Apr 21 15:08:09 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/menu_battery.asm	Sun Apr 22 14:38:10 2012 +0200
@@ -134,9 +134,8 @@
 	movff	EEDATA,convert_value_temp+2
 	call	PLED_convert_date		; coverts into "DD/MM/YY" or "MM/DD/YY" or "YY/MM/DD" in postinc2
 	STRCAT_PRINT ") "
-	
-	bcf		switch_left
-	bcf		switch_right
+
+	call	wait_switches		; Waits until switches are released, resets flag if button stays pressed!	
 	bcf		menubit2
 menu_battery_state_loop:
 	call	check_switches_logbook