Mercurial > public > ostc4
comparison Common/Inc/settings.h @ 160:e3ca52b8e7fa
Merge with FlipDisplay
author | heinrichsweikamp |
---|---|
date | Thu, 07 Mar 2019 15:06:43 +0100 |
parents | cc9c18075e00 |
children | b2a9e9b02df0 |
comparison
equal
deleted
inserted
replaced
80:cc2bb7bb8456 | 160:e3ca52b8e7fa |
---|---|
30 // From Common/Inc: | 30 // From Common/Inc: |
31 #include "FirmwareData.h" | 31 #include "FirmwareData.h" |
32 | 32 |
33 //#include "data_central.h" | 33 //#include "data_central.h" |
34 | 34 |
35 #include "global_constants.h" | |
35 // From Common/Drivers/ | 36 // From Common/Drivers/ |
36 #include "stm32f4xx_hal.h" | 37 #include "stm32f4xx_hal.h" |
37 | 38 |
38 #include <stdint.h> | 39 #include <stdint.h> |
40 | |
39 | 41 |
40 #define NUM_GASES 5 | 42 #define NUM_GASES 5 |
41 #define NUM_OFFSET_DILUENT 5 | 43 #define NUM_OFFSET_DILUENT 5 |
42 #define SPECIAL_GAS_ID 0 | 44 #define SPECIAL_GAS_ID 0 |
43 | 45 |
61 #define BUEHLMANN_hwOS 1 | 63 #define BUEHLMANN_hwOS 1 |
62 | 64 |
63 #define MMDDYY 0 | 65 #define MMDDYY 0 |
64 #define DDMMYY 1 | 66 #define DDMMYY 1 |
65 #define YYMMDD 2 | 67 #define YYMMDD 2 |
66 | |
67 #define LICENCEBONEX 0xFE | |
68 | |
69 | 68 |
70 /* 2015 Jan 30, hw, deco and travel added for MenuEditGas | 69 /* 2015 Jan 30, hw, deco and travel added for MenuEditGas |
71 * can be used for buehlmann, vpm, etc. later but be carefull | 70 * can be used for buehlmann, vpm, etc. later but be carefull |
72 * with current implemenation */ | 71 * with current implemenation */ |
73 typedef struct{ | 72 typedef struct{ |
212 uint8_t GF_model; | 211 uint8_t GF_model; |
213 // new in 0xFFFF0017 | 212 // new in 0xFFFF0017 |
214 uint8_t FactoryButtonBase; | 213 uint8_t FactoryButtonBase; |
215 uint8_t FactoryButtonBalance[3]; | 214 uint8_t FactoryButtonBalance[3]; |
216 | 215 |
216 /* new in 0xFFFF0018 */ | |
217 uint8_t FlipDisplay; | |
218 | |
217 //to be continued | 219 //to be continued |
218 } SSettings; | 220 } SSettings; |
219 | 221 |
220 typedef struct | 222 typedef struct |
221 { | 223 { |