drop location
This commit is contained in:
@ -4,7 +4,7 @@
|
||||
#include <stdint.h>
|
||||
#include <sha256.h>
|
||||
|
||||
#define CONFIG_MAGIC 0xdead0006
|
||||
#define CONFIG_MAGIC 0xdead0007
|
||||
|
||||
typedef struct __attribute__((__packed__)) s_configBlock {
|
||||
uint32_t configMagic;
|
||||
@ -13,7 +13,6 @@ typedef struct __attribute__((__packed__)) s_configBlock {
|
||||
char ntpServer[48];
|
||||
char deviceId[16];
|
||||
char sharedSecret[SHA256_BLOCK_SIZE];
|
||||
char location[48];
|
||||
char sinkServer[48];
|
||||
uint8_t filler[6];
|
||||
} t_configBlock;
|
||||
|
@ -13,7 +13,6 @@ typedef struct __attribute__((__packed__)) {
|
||||
#define SECONDS_PER_MINUTE 60
|
||||
typedef struct __attribute__((__packed__)) {
|
||||
char deviceId[sizeof(((t_configBlock*)0)->deviceId)];
|
||||
char location[sizeof(((t_configBlock*)0)->location)];
|
||||
uint8_t hash[SHA256_BLOCK_SIZE];
|
||||
uint8_t done;
|
||||
t_event events[SECONDS_PER_MINUTE];
|
||||
|
Reference in New Issue
Block a user