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/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();
|
||||||
|
|
Loading…
Reference in New Issue