# HG changeset patch
# User heinrichsweikamp
# Date 1369679005 -7200
# Node ID 6fd9a9feca916246b7cae198e965f3c33ffc0bd1
# Parent  c6d57bed1ba0ee78916a7d0c4bb6bf72077082f4
fix minor issue in rtc_init

diff -r c6d57bed1ba0 -r 6fd9a9feca91 code_part1/OSTC_code_asm_part1/adc_rtc.asm
--- a/code_part1/OSTC_code_asm_part1/adc_rtc.asm	Mon May 27 11:00:32 2013 +0200
+++ b/code_part1/OSTC_code_asm_part1/adc_rtc.asm	Mon May 27 20:23:25 2013 +0200
@@ -222,9 +222,9 @@
 	bra		RTCinit2			; Reset time...
 ; Make sure day and month <> zero
 	movlw	.0
-	cpfseq	day					; =0?
+	cpfsgt	day					; =0?
 	incf	day,F				; Yes, +1
-	cpfseq	month				; =0?
+	cpfsgt	month				; =0?
 	incf	month,F				; Yes, +1
 	bsf		PIE1, TMR1IE		; Enable clock int
 	return