diff code_part1/OSTC_code_asm_part1/definitions.asm @ 274:a728b4a1b660

Setpoint changes stored in profile, EAD and END displayed in divemode (Customview 7)
author heinrichsweikamp
date Sun, 17 Apr 2011 17:57:44 +0200
parents 35bbab4d3c6f
children 02303915c199
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/definitions.asm	Wed Apr 13 10:07:37 2011 +0200
+++ b/code_part1/OSTC_code_asm_part1/definitions.asm	Sun Apr 17 17:57:44 2011 +0200
@@ -85,7 +85,7 @@
 
 ;=============================================================================
 
-#include "../OSTC_code_c_part2/shared_definitions.h"
+#include "shared_definitions.h"
 
 ;=============================================================================
 ; Reserve space for C-code data space. Eg.when calling log.
@@ -486,8 +486,8 @@
 #DEFINE	initialize_battery2		flag11,6	;=1: Battery memory need to be initialised
 #DEFINE	charge_started			flag11,7	;=1: Charger started in CC mode
 
-#DEFINE	switch_left_isr			flag12,0	;=1: left switch pressed (Only modified in ISR!)
-#DEFINE	switch_right_isr		flag12,1	;=1: right switch pressed (Only modified in ISR!)
+#DEFINE	setpoint_changed		flag12,0	;=1: Setpoint was changed in divemode, store in profile
+; #DEFINE	free		flag12,1	;=1: 
 #DEFINE	debug_mode				flag12,2	;=1: Debugmode active
 #DEFINE	neg_flag_isr			flag12,3	;=1: ISR Negative flag (Math)
 #DEFINE	select_bailoutgas		flag12,4	;=1: Select Bailout instead of Setpoint in Gaslist