diff code_part1/OSTC_code_asm_part1/start.asm @ 537:3091628b2742

BUGFIX: Spurious logbook read issue
author heinrichsweikamp
date Sun, 08 Jan 2012 12:44:51 +0100
parents 33abbc08f01e
children ab2686087bce
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/start.asm	Wed Dec 21 12:06:27 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/start.asm	Sun Jan 08 12:44:51 2012 +0100
@@ -165,6 +165,7 @@
 	movlw	b'00000011'
 	movwf	T3CON					; Timer3 with 32768Hz clock running
 	clrf	TMR3L
+	nop
 	clrf	TMR3H
 	bcf		LED_red
 	bcf		LED_blue				; all LEDs off
@@ -474,7 +475,7 @@
 	movwf	ADCON2
 
 	clrf	SSPCON1			; Set I²C Mode
-	movlw	b'00000000'
+	movlw	SSPSTAT_VALUE
 	movwf	SSPSTAT
 	movlw	b'00101000'
 	movwf	SSPCON1