Check individual heartbeat frames for timeouts
This commit is contained in:
@ -19,6 +19,7 @@
|
||||
#define NUMBEROFTEMPS 32
|
||||
|
||||
#define SLAVETIMEOUT 500
|
||||
#define SLAVE_HEARTBEAT_FRAMES 11
|
||||
|
||||
typedef struct {
|
||||
|
||||
@ -28,6 +29,7 @@ typedef struct {
|
||||
uint32_t timestamp;
|
||||
uint8_t error;
|
||||
uint8_t timeout;
|
||||
uint32_t frame_timestamps[SLAVE_HEARTBEAT_FRAMES];
|
||||
|
||||
} SlaveHandler;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user