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

1.60 stable rc1
author heinrichsweikamp
date Wed, 21 Apr 2010 17:37:30 +0200
parents 96a35aeda5f2
children 2b52a4a7dce6
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/simulator.asm	Wed Apr 21 10:13:36 2010 +0200
+++ b/code_part1/OSTC_code_asm_part1/simulator.asm	Wed Apr 21 17:37:30 2010 +0200
@@ -258,7 +258,7 @@
 
 	
 simulator_calc_deco_loop2:
-	call	toggle_LEDr
+	btg		LED_red
 
 	call	divemode_check_decogases			; Checks for decogases and sets the gases
 	call	divemode_prepare_flags_for_deco
@@ -277,7 +277,7 @@
 	bra		simulator_calc_deco2				; Not finished
 
 simulator_calc_deco3:
-	call	set_LEDr
+	bsf		LED_red
 	
 	call	simulator_restore_tissue_data	; Restore 32 floats "pre_tissue" from bank3
 
@@ -288,7 +288,7 @@
 	WAITMS	d'250'
 	WAITMS	d'250'							; Wait for Pressure Sensor to get real pressure again...
 
-	call	clear_LEDr
+	bcf		LED_red
 	
 	movlw	d'1'
 	movwf	logbook_temp1					; Bottom time>0!