comparison Small_CPU/Inc/scheduler.h @ 244:c20c73b0d034

Merged in janlmulder/ostc4/div-fixes-5 (pull request #15) Improvement SPI stability/recoverability and cleanup, and trivial bugfixes
author heinrichsweikamp <bitbucket@heinrichsweikamp.com>
date Tue, 09 Apr 2019 08:52:44 +0000
parents 2b9775f71e30
children b3685fbada3b
comparison
equal deleted inserted replaced
236:ad6ddc4aabcd 244:c20c73b0d034
58 SDataExchangeSlaveToMaster dataSendToMaster; 58 SDataExchangeSlaveToMaster dataSendToMaster;
59 SDataReceiveFromMaster dataSendToSlave; 59 SDataReceiveFromMaster dataSendToSlave;
60 _Bool demo_mode; 60 _Bool demo_mode;
61 uint8_t dataSendToSlaveIsValid; 61 uint8_t dataSendToSlaveIsValid;
62 uint8_t dataSendToSlavePending; 62 uint8_t dataSendToSlavePending;
63 uint8_t dataSendToSlaveStopEval;
64 uint32_t sync_error_count; 63 uint32_t sync_error_count;
65 uint32_t check_sync_not_running; 64 uint32_t check_sync_not_running;
66 uint8_t ButtonResponsiveness[4]; 65 uint8_t ButtonResponsiveness[4];
67 uint8_t chargerStatus; 66 uint8_t chargerStatus;
68 uint8_t dataSendToSlaveIsNotValidCount; 67 uint8_t dataSendToSlaveIsNotValidCount;
69 uint8_t ButtonPICdata[4]; 68 uint8_t ButtonPICdata[4];
70 uint8_t accidentFlag; 69 uint8_t accidentFlag;
71 uint32_t accidentRemainingSeconds; 70 uint32_t accidentRemainingSeconds;
72 uint8_t sensorError[MAX_SENSORS]; 71 uint8_t sensorError[MAX_SENSORS];
73 uint8_t I2C_SystemStatus; 72 HAL_StatusTypeDef I2C_SystemStatus;
74 } SGlobal; 73 } SGlobal;
75 74
76 typedef struct 75 typedef struct
77 { 76 {
78 long seconds_since_last_dive; 77 long seconds_since_last_dive;