comparison Small_CPU/Inc/scheduler.h @ 181:331882a89421 Cleanup_Compass_Wireless

Removed not suppoted wireless feature The code contains parts of a wireless sensor feature which is not supported by the OSTC4 hardware.
author ideenmodellierer
date Wed, 13 Mar 2019 21:51:25 +0100
parents ee744c7160ce
children b95741467355
comparison
equal deleted inserted replaced
180:9ecc2e60418d 181:331882a89421
27 #include "data_central.h" 27 #include "data_central.h"
28 #include "data_exchange.h" 28 #include "data_exchange.h"
29 #include "settings.h" 29 #include "settings.h"
30 30
31 /* Types -------------------------------------------------------------*/ 31 /* Types -------------------------------------------------------------*/
32 #define MAX_WIRELESS_BYTES 10
33 #define SENSOR_PRESSURE_ID 0 32 #define SENSOR_PRESSURE_ID 0
34 #define MAX_SENSORS 1 33 #define MAX_SENSORS 1
35 34
36 typedef struct 35 typedef struct
37 { 36 {
38 uint8_t mode; 37 uint8_t mode;
39 short conservatism; 38 short conservatism;
40 short repetitive_dive; 39 short repetitive_dive;
57 uint32_t sync_error_count; 56 uint32_t sync_error_count;
58 uint32_t check_sync_not_running; 57 uint32_t check_sync_not_running;
59 uint8_t ButtonResponsiveness[4]; 58 uint8_t ButtonResponsiveness[4];
60 uint8_t chargerStatus; 59 uint8_t chargerStatus;
61 uint8_t dataSendToSlaveIsNotValidCount; 60 uint8_t dataSendToSlaveIsNotValidCount;
62 uint8_t wirelessdata[MAX_WIRELESS_BYTES];
63 uint8_t wirelessReceived;
64 uint8_t wirelessConfidenceStatus;
65 uint8_t ButtonPICdata[4]; 61 uint8_t ButtonPICdata[4];
66 uint8_t accidentFlag; 62 uint8_t accidentFlag;
67 uint32_t accidentRemainingSeconds; 63 uint32_t accidentRemainingSeconds;
68 uint8_t sensorError[MAX_SENSORS]; 64 uint8_t sensorError[MAX_SENSORS];
69 uint8_t I2C_SystemStatus; 65 uint8_t I2C_SystemStatus;
79 { 75 {
80 uint8_t counterSPIdata100msec; 76 uint8_t counterSPIdata100msec;
81 uint8_t counterPressure100msec; 77 uint8_t counterPressure100msec;
82 uint8_t counterCompass100msec; 78 uint8_t counterCompass100msec;
83 uint8_t counterAmbientLight100msec; 79 uint8_t counterAmbientLight100msec;
84 uint16_t counterWireless1msec;
85 uint32_t tickstart; 80 uint32_t tickstart;
86 } SScheduleCtrl; 81 } SScheduleCtrl;
87 82
88 83
89 /* Variables ---------------------------------------------------------*/ 84 /* Variables ---------------------------------------------------------*/