Mercurial > public > ostc4
comparison Discovery/Src/data_exchange_main.c @ 584:830de438e0b0
Added option for 100% o2 calibration:
For the implementation of the selection of the calib gas the reactivation of the menu elemen "FIELD_TOGGLE" was necessary. Within the calibration menu item it is now possible to select between air and 100% o2 calibration. The calibration itself no consideres the ambient pressure during calculation of the coeff.
author | Ideenmodellierer |
---|---|
date | Sat, 12 Dec 2020 21:05:11 +0100 |
parents | 9bb9a52d6ae5 |
children | 1b995079c045 |
comparison
equal
deleted
inserted
replaced
583:3860b8fa4b29 | 584:830de438e0b0 |
---|---|
100 #define UNKNOWN_TIME_SECOND 0 | 100 #define UNKNOWN_TIME_SECOND 0 |
101 #define UNKNOWN_DATE_DAY 1 | 101 #define UNKNOWN_DATE_DAY 1 |
102 #define UNKNOWN_DATE_MONTH 1 | 102 #define UNKNOWN_DATE_MONTH 1 |
103 #define UNKNOWN_DATE_YEAR 16 | 103 #define UNKNOWN_DATE_YEAR 16 |
104 | 104 |
105 #define IGNORE_O2_VOLTAGE_LEVEL_MV (0.5f) | |
106 | 105 |
107 /* Private function prototypes -----------------------------------------------*/ | 106 /* Private function prototypes -----------------------------------------------*/ |
108 static uint8_t DataEX_check_header_and_footer_ok(void); | 107 static uint8_t DataEX_check_header_and_footer_ok(void); |
109 static uint8_t DataEX_check_header_and_footer_shifted(void); | 108 static uint8_t DataEX_check_header_and_footer_shifted(void); |
110 static uint8_t DataEX_check_header_and_footer_devicedata(void); | 109 static uint8_t DataEX_check_header_and_footer_devicedata(void); |