Update config.h

This commit is contained in:
rehius 2023-05-22 10:29:28 +00:00 committed by GitHub
parent 559d480abc
commit 4763bee167
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@
#define OFFSET_MAX 6900
#define VER_HI 2
#define VER_LO 71
#define VER_LO 73
bool is_configured();
void init_config();
@ -21,4 +21,4 @@ int get_weigth(int offset);
#define OFFSET_CNT (CONFIG_CNT-1)
#define CONFIG_SIZE (CONFIG_CNT * 256)
#define flash_cfg ((const uint8_t *) (XIP_BASE + CONFIG_START))
#define flash_cfg ((const uint8_t *) (XIP_BASE + CONFIG_START))