This commit is contained in:
2021-02-08 18:07:17 +01:00
parent 82e4b08937
commit 38ae182326
3 changed files with 60 additions and 6 deletions

View File

@ -19,4 +19,9 @@ typedef struct __attribute__((__packed__)) {
t_event events[SECONDS_PER_MINUTE];
} t_minuteStruct;
typedef union {
t_minuteStruct s;
uint8_t b[sizeof(t_minuteStruct)];
} t_minuteBuffer;
#endif // _SINKSTRUCT_H_