diff src/ostc3.inc @ 98:24b3fd59e61f

add event "bailout" in profile
author heinrichsweikamp
date Thu, 01 May 2014 21:16:31 +0200
parents 53a99a2dc6a1
children 87cc1adfe4da
line wrap: on
line diff
--- a/src/ostc3.inc	Mon Apr 28 16:26:31 2014 +0200
+++ b/src/ostc3.inc	Thu May 01 21:16:31 2014 +0200
@@ -13,7 +13,7 @@
 
         LIST      P=18F87K22	; change also: Configure->SelectDevice from Mplab
 
-;#DEFINE __DEBUG
+#DEFINE __DEBUG
 
 #include <p18f87k22.inc>
 #include <ports.inc>                        ; Portmap
@@ -426,11 +426,13 @@
 apnoe_timeout_counter 	res 1
 apnoe_surface_mins 		res 1
 apnoe_surface_secs		res 1
+tft_gaslist_temp        res 1
 
 ; Profile storing
 AlarmType			res 1
 samplesecs			res 1
 EventByte			res 1
+EventByte2			res 1
 ProfileFlagByte		res 1
 
 ; External flash
@@ -441,9 +443,6 @@
 ; I2C
 i2c_temp            res 1       ; Temp
 
-; MCP
-mcp_temp            res 4       ; For RX
-
 ; O2 Sensor data
 o2_mv_sensor1       res 2       ; in 0.1mV steps
 o2_mv_sensor2       res 2       ; in 0.1mV steps
@@ -598,7 +597,8 @@
 
 #DEFINE compass_fast_mode       flag9,0 ; =1: The compass is in fast mode
 #DEFINE in_color_menu           flag9,1 ; =1: In the color scheme menu
-
+#DEFINE bailoutgas_event        flag9,2 ; =1: bailout was selected or a gaschange during bailout
+#DEFINE	event2_occured			flag9,3	; =1: An event in the Eventbyte2 occured, store it!
 ;=============================================================================
 ; C-code Routines
 ; PART 2