initialize memory for led programs at startup

This commit is contained in:
true 2024-08-07 13:22:24 -07:00
parent 4dc61abc40
commit 340cdcad89
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,7 @@
#include "src/config.h" #include "src/config.h"
#include "src/i2c.h" #include "src/i2c.h"
#include "src/led.h" #include "src/led.h"
#include "src/led_rgbprog.h"
#include "src/rand.h" #include "src/rand.h"
#include "src/ui.h" #include "src/ui.h"
@ -120,6 +121,9 @@ int main(void)
// configure systick interrupt // configure systick interrupt
systick_init(); systick_init();
// set up LEDs initially
led_rgb_firstrun();
// do system shit // do system shit
while(1) { while(1) {
__WFI(); __WFI();