diff code_part1/OSTC_code_asm_part1/menu_settime.asm @ 837:23ed973d4fb9

Disable DEBUG mode, Too many users turned this on in the last years and then complained about "letters on the screen".... Allow manual (in the menu) year setting >2020
author heinrichsweikamp
date Fri, 01 Jan 2021 19:57:21 +0100
parents 30136fc61392
children 8d73c9dcf851
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/menu_settime.asm	Mon Nov 02 14:40:12 2020 +0100
+++ b/code_part1/OSTC_code_asm_part1/menu_settime.asm	Fri Jan 01 19:57:21 2021 +0100
@@ -262,11 +262,11 @@
 	bra	set_time_refresh_x
 add_year:
 	incf	year,F
-	movlw	d'22'					; calendar until 2022
+	movlw	d'29'					; calendar until 2029
 	cpfsgt	year
 	bra	set_time_refresh_x
-	movlw	d'10'
-	movwf	year					; Set Year to 2010
+	movlw	d'21'
+	movwf	year					; Set Year to 2021
 	
 set_time_refresh_x:
 	call	set_time_refresh