diff code_part1/OSTC_code_asm_part1/isr.asm @ 13:3b30cd739782

1.53 beta rc2
author heinrichsweikamp
date Thu, 25 Mar 2010 22:16:19 +0100
parents 96a35aeda5f2
children 73014f788032
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/isr.asm	Wed Mar 24 20:26:09 2010 +0100
+++ b/code_part1/OSTC_code_asm_part1/isr.asm	Thu Mar 25 22:16:19 2010 +0100
@@ -353,7 +353,11 @@
 		cpfsgt		hours
 		return
 		clrf		hours
-		incf		day,F					
+		incf		day,F
+movlw	plus_time_correction			; Correct too slow clock
+movwf	secs
+
+						
 check_date:
 		movff		month,isr_divB		; new month?
 		dcfsnz		isr_divB,F