Load NVS data on power-on
This commit is contained in:
parent
3fd2881ba2
commit
10a5973361
|
@ -1 +1 @@
|
||||||
454
|
455
|
||||||
|
|
|
@ -13,6 +13,7 @@ int main(void)
|
||||||
LightSensor_Poll();
|
LightSensor_Poll();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NVS_Load();
|
||||||
LED_Init();
|
LED_Init();
|
||||||
Animation_Init();
|
Animation_Init();
|
||||||
|
|
||||||
|
|
|
@ -8,5 +8,6 @@
|
||||||
#include "led.h"
|
#include "led.h"
|
||||||
#include "light_sensor.h"
|
#include "light_sensor.h"
|
||||||
#include "animation.h"
|
#include "animation.h"
|
||||||
|
#include "nvs.h"
|
||||||
|
|
||||||
int main(void);
|
int main(void);
|
||||||
|
|
Loading…
Reference in a new issue