Update config.h
This commit is contained in:
1 parent
559d480abc
commit
4763bee167
1 file changed
+2
-2
@@ -4,7 +4,7 @@
|
|||||||
#define OFFSET_MAX 6900
|
#define OFFSET_MAX 6900
|
||||||
|
|
||||||
#define VER_HI 2
|
#define VER_HI 2
|
||||||
#define VER_LO 71
|
#define VER_LO 73
|
||||||
|
|
||||||
bool is_configured();
|
bool is_configured();
|
||||||
void init_config();
|
void init_config();
|
||||||
@@ -21,4 +21,4 @@ int get_weigth(int offset);
|
|||||||
#define OFFSET_CNT (CONFIG_CNT-1)
|
#define OFFSET_CNT (CONFIG_CNT-1)
|
||||||
#define CONFIG_SIZE (CONFIG_CNT * 256)
|
#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))
|
||||||
Reference in new issue
Block a user