fix
This commit is contained in:
@ -27,7 +27,7 @@ typedef struct {
|
|||||||
} t_event;
|
} t_event;
|
||||||
|
|
||||||
|
|
||||||
const uint8_t SECONDS_PER_MINUTE = 60;
|
#define SECONDS_PER_MINUTE 60
|
||||||
typedef struct {
|
typedef struct {
|
||||||
char deviceId[sizeof(((t_configBlock*)0)->location)];
|
char deviceId[sizeof(((t_configBlock*)0)->location)];
|
||||||
uint8_t done;
|
uint8_t done;
|
||||||
@ -39,7 +39,7 @@ typedef union {
|
|||||||
uint8_t b[sizeof(t_minuteStruct)];
|
uint8_t b[sizeof(t_minuteStruct)];
|
||||||
} t_minuteBuffer;
|
} t_minuteBuffer;
|
||||||
|
|
||||||
const uint8_t NUM_OF_MINUTE_BUFFERS = 2;
|
#define NUM_OF_MINUTE_BUFFERS 2
|
||||||
t_minuteBuffer minuteBuffers[NUM_OF_MINUTE_BUFFERS];
|
t_minuteBuffer minuteBuffers[NUM_OF_MINUTE_BUFFERS];
|
||||||
uint8_t activeMinuteBuffer = 0;
|
uint8_t activeMinuteBuffer = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user