diff code_part1/OSTC_code_asm_part1/i2c_eeprom.asm @ 21:73014f788032

1.60 stable rc1
author heinrichsweikamp
date Wed, 21 Apr 2010 17:37:30 +0200
parents 96a35aeda5f2
children da553e5c7a90
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/i2c_eeprom.asm	Wed Apr 21 10:13:36 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/i2c_eeprom.asm	Wed Apr 21 17:37:30 2010 +0200
@@ -282,7 +282,7 @@
 	
 I2CFail:
 	ostc_debug	'M'		; Sends debug-information to screen if debugmode active
-	call		set_LEDy					
+	bsf			LED_red
 	rcall		I2CReset			; I2C Reset
 	bcf			PIR1,SSPIF
 	clrf		i2c_temp
@@ -330,7 +330,7 @@
 	movwf		SSPCON2
 	movlw		d'8'				; 400kHz I2C clock @ 16MHz Fcy
 	movwf		SSPADD
-	call		clear_LEDy					
+	bcf			LED_red
 	ostc_debug	'O'		; Sends debug-information to screen if debugmode active
 	return
 I2C_TX: