forked from Mirrors/usk
Update config.h
This commit is contained in:
parent
559d480abc
commit
4763bee167
1 changed files with 2 additions and 2 deletions
4
config.h
4
config.h
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue