diff code_part1/OSTC_code_asm_part1/isr.asm @ 377:be71e563ac09 64kByte Logbook

First gas can be reset to 0m, test for timer1 race condition
author heinrichsweikamp
date Mon, 13 Jun 2011 07:45:59 +0200
parents 88660a400338
children 51baf8777b73
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/isr.asm	Sun Jun 12 21:27:07 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/isr.asm	Mon Jun 13 07:45:59 2011 +0200
@@ -395,7 +395,8 @@
 		return
 		clrf		hours
 		incf		day,F
-		movff		time_correction_value,secs			; Correct too slow clock
+; Test for race condition
+;		movff		time_correction_value,secs			; Correct too slow clock
 						
 check_date:
 		movff		month,isr_divB		; new month?