Load NVS data on power-on

This commit is contained in:
fruchti 2020-09-20 17:36:58 +02:00
parent 3fd2881ba2
commit 10a5973361
3 changed files with 3 additions and 1 deletions

View file

@ -1 +1 @@
454 455

View file

@ -13,6 +13,7 @@ int main(void)
LightSensor_Poll(); LightSensor_Poll();
} }
NVS_Load();
LED_Init(); LED_Init();
Animation_Init(); Animation_Init();

View file

@ -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);