device configuration prepared

This commit is contained in:
Wolfgang Hottgenroth 2020-11-30 19:07:26 +01:00
parent 11265fc979
commit a14928b035
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 <assert.h>
#define CONFIG_MAGIC 0xdead0009
#define CONFIG_MAGIC 0xdead000a
#define DEVICE_MAGIC 0xaffe0000
typedef struct __attribute__((__packed__)) s_configBlock {

View File

@ -27,7 +27,7 @@ t_deviceBlock defaultDeviceBlock[] = {
.filler = { 0, 0, 0 }
},
{
.deviceMagic = DEVICE_MAGIC+1,
.deviceMagic = DEVICE_MAGIC,
.deviceName = "Dryer",
.address = 81,
.consideredField = { 0, 4, 2, 3 },