This commit is contained in:
2021-02-08 12:14:44 +01:00
parent 5ee6368677
commit 9685453bf6

View File

@ -27,7 +27,7 @@ typedef struct {
} t_event;
const uint8_t SECONDS_PER_MINUTE = 60;
#define SECONDS_PER_MINUTE 60
typedef struct {
char deviceId[sizeof(((t_configBlock*)0)->location)];
uint8_t done;
@ -39,7 +39,7 @@ typedef union {
uint8_t b[sizeof(t_minuteStruct)];
} t_minuteBuffer;
const uint8_t NUM_OF_MINUTE_BUFFERS = 2;
#define NUM_OF_MINUTE_BUFFERS 2
t_minuteBuffer minuteBuffers[NUM_OF_MINUTE_BUFFERS];
uint8_t activeMinuteBuffer = 0;