diff code_part1/OSTC_code_asm_part1/definitions.asm @ 577:e3ffc6d62a63

minor clean
author heinrichsweikamp
date Sun, 22 Apr 2012 21:32:04 +0200
parents ab2686087bce
children fbd5e2b75a63
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/definitions.asm	Sun Apr 22 14:38:10 2012 +0200
+++ b/code_part1/OSTC_code_asm_part1/definitions.asm	Sun Apr 22 21:32:04 2012 +0200
@@ -85,12 +85,12 @@
 #DEFINE color_orange        b'11111000'     ; (7,6,0)
 #DEFINE color_pink          b'11111010'     ; (7,6,2)
 
-#DEFINE	warn_depth		d'1'
-#DEFINE	warn_cns		d'2'
-#DEFINE	warn_gf			d'3'
-#DEFINE	warn_ppo2		d'4'
-#DEFINE warn_velocity	d'5'
-#DEFINE warn_ceiling	d'6'
+#DEFINE	warn_depth			d'1'
+#DEFINE	warn_cns			d'2'
+#DEFINE	warn_gf				d'3'
+#DEFINE	warn_ppo2			d'4'
+#DEFINE warn_velocity		d'5'
+#DEFINE warn_ceiling		d'6'
 #DEFINE	warn_gas_in_gaslist	d'7'
 
 ;Configuration bits
@@ -157,9 +157,6 @@
 ;
 bank1 udata 0x100               ;Bank 1
 
-;wreg_temp       res 1           ;variables used for context saving during ISR 
-;status_temp     res 1
-;bsr_temp        res 1
 prod_temp       res 2           ;Trashed by isr_mult16x16, for sensor compensations
 
 secs            res 1           ;realtime clock
@@ -276,7 +273,6 @@
 temperature_avg res 2           ; Temperature summing buffer.
 temperature     res 2           ; Final temperature. SIGNED.
 last_temperature res 2          ; Last displayed temperature (used to detect changes).
-Dx              res 2
 
 last_surfpressure       res 2   ; Divemode
 last_surfpressure_15min res 2
@@ -315,8 +311,6 @@
 eeprom_address          res 2   ; external EEPROM
 eeprom_header_address   res 2
 
-divenumber              res 1   ; Logbook
-
 batt_voltage            res 2   ; Battery voltage in mV
 
 i2c_temp                res 1   ; I²C timeout counter
@@ -335,7 +329,7 @@
 
 active_gas              res 1   ; Holds number of active gas
 
-last_diluent            res 1   ; backup of diluent percentage in const ppO2 mode
+;last_diluent            res 1   ; backup of diluent percentage in const ppO2 mode
 ;last_ppO2_value         res 1   ; last calculated ppO2 value
 
 debug_char              res 6    ; For debugmode