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

1.60 stable rc1
author heinrichsweikamp
date Wed, 21 Apr 2010 17:37:30 +0200
parents 1cdf96a7946f
children 14a074e1a375
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/sleepmode.asm	Wed Apr 21 10:13:36 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/sleepmode.asm	Wed Apr 21 17:37:30 2010 +0200
@@ -117,14 +117,14 @@
 	btfss	nofly_active
 	bra		onesec_sleep_nonofly
 	
-	call	set_LEDnofly			; Set nofly LED
+	bsf		LED_blue				; Set nofly LED
 	
 	nop
 	sleep
 	nop
 
 onesec_sleep_nonofly:
-	call	clear_LEDnofly			; Clear	nofly LED
+	bcf		LED_blue				; Clear	nofly LED
 	incf	divemins+0,F 			; counts to #test_pressure_in_sleep (5)
 	movlw	d'5'
 	cpfsgt	divemins+0				; here: temp variable
@@ -229,10 +229,10 @@
 	decfsz	temp1,F
 	bra		fatal_error_sleep_loop1
 fatal_error_sleep_loop2:
-	call	set_LEDy					
+	bsf		LED_red
 	clrwdt
 	WAIT10US	d'5'
-	call	clear_LEDy					
+	bcf		LED_red
 	sleep
 	nop
 	decfsz	temp4,F