initialize memory for led programs at startup
This commit is contained in:
parent
e67de8d560
commit
99585ca132
|
@ -31,6 +31,8 @@
|
||||||
#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/ledprog_pep.h"
|
||||||
|
#include "src/ledprog_rgb.h"
|
||||||
#include "src/lis2dw.h"
|
#include "src/lis2dw.h"
|
||||||
#include "src/rand.h"
|
#include "src/rand.h"
|
||||||
#include "src/touch.h"
|
#include "src/touch.h"
|
||||||
|
@ -138,6 +140,10 @@ int main(void)
|
||||||
// configure systick interrupt
|
// configure systick interrupt
|
||||||
systick_init();
|
systick_init();
|
||||||
|
|
||||||
|
// initial config for led programs
|
||||||
|
ledprog_pep_init();
|
||||||
|
ledprog_rgb_init();
|
||||||
|
|
||||||
|
|
||||||
// do system shit
|
// do system shit
|
||||||
while(1) {
|
while(1) {
|
||||||
|
|
Loading…
Reference in New Issue