From 734343c4778c4fad32ed18e539178daf604002ca Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Tue, 16 Feb 2021 12:19:50 +0100 Subject: [PATCH] config rearranged --- cube/User/Inc/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cube/User/Inc/config.h b/cube/User/Inc/config.h index c823f27..33a9a83 100644 --- a/cube/User/Inc/config.h +++ b/cube/User/Inc/config.h @@ -4,16 +4,16 @@ #include #include -#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;