config rearranged
This commit is contained in:
parent
b39c396871
commit
734343c477
@ -4,16 +4,16 @@
|
||||
#include <stdint.h>
|
||||
#include <sha256.h>
|
||||
|
||||
#define CONFIG_MAGIC 0xdead0007
|
||||
#define CONFIG_MAGIC 0xdead0008
|
||||
|
||||
typedef struct __attribute__((__packed__)) s_configBlock {
|
||||
uint32_t configMagic;
|
||||
char deviceName[16];
|
||||
uint8_t macAddress[6];
|
||||
char ntpServer[48];
|
||||
char deviceId[16];
|
||||
char sharedSecret[SHA256_BLOCK_SIZE];
|
||||
char sinkServer[48];
|
||||
uint8_t macAddress[6];
|
||||
uint8_t filler[22];
|
||||
} t_configBlock;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user