initialize memory for led programs at startup
This commit is contained in:
parent
4dc61abc40
commit
340cdcad89
|
@ -26,6 +26,7 @@
|
|||
#include "src/config.h"
|
||||
#include "src/i2c.h"
|
||||
#include "src/led.h"
|
||||
#include "src/led_rgbprog.h"
|
||||
#include "src/rand.h"
|
||||
#include "src/ui.h"
|
||||
|
||||
|
@ -120,6 +121,9 @@ int main(void)
|
|||
// configure systick interrupt
|
||||
systick_init();
|
||||
|
||||
// set up LEDs initially
|
||||
led_rgb_firstrun();
|
||||
|
||||
// do system shit
|
||||
while(1) {
|
||||
__WFI();
|
||||
|
|
Loading…
Reference in New Issue