configuration

This commit is contained in:
Wolfgang Hottgenroth 2020-11-27 16:36:46 +01:00
parent 2c392cce53
commit bc15e23f10
Signed by: wn
GPG Key ID: 6C1E5E531E0D5D7F
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#include <spi.h> #include <spi.h>
#define CONFIG_MAGIC 0xdead0002 #define CONFIG_MAGIC 0xdead0003
typedef struct __attribute__((__packed__)) s_configBlock { typedef struct __attribute__((__packed__)) s_configBlock {
uint32_t configMagic; uint32_t configMagic;

View File

@ -25,7 +25,7 @@ t_configBlock mainConfigBlock;
t_configBlock* getConfig() { t_configBlock* getConfig() {
return &defaultConfigBlock; return &mainConfigBlock;
} }