diff code_part1/OSTC_code_asm_part1/i2c_eeprom.asm @ 595:16f4eafc197e

CNS for pSCR-GF fixed.
author heinrichsweikamp
date Thu, 21 Jun 2012 07:16:11 +0200
parents 77c8ff191cd7
children c50296c3059e
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/i2c_eeprom.asm	Thu May 31 09:09:47 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/i2c_eeprom.asm	Thu Jun 21 07:16:11 2012 +0200
@@ -322,9 +322,10 @@
 	bra			I2CFail			; timeout occured
 WaitMSSP2:
 	btfss		PIR1,SSPIF
-	bra		WaitMSSP
+	bra			WaitMSSP
 	clrf		i2c_temp
 	bcf			PIR1,SSPIF
+	nop
 	return
 
 I2CReset:						; Something went wrong (Slave holds SDA low?)