diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-01-24 19:02:15 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-01-24 19:02:15 +0100 |
commit | 34592857619fe7b87b84f8ff12a149c20aefbc10 (patch) | |
tree | 12410f69764bcb9d13c5a6223f1f788179231aae /src/fsm | |
parent | 89b7e785eef62fe36177c453a3c0e030dece6a76 (diff) | |
download | glutte-o-matic-34592857619fe7b87b84f8ff12a149c20aefbc10.tar.gz glutte-o-matic-34592857619fe7b87b84f8ff12a149c20aefbc10.tar.bz2 glutte-o-matic-34592857619fe7b87b84f8ff12a149c20aefbc10.zip |
Do not start systick, FreeRTOS port is doing it
Diffstat (limited to 'src/fsm')
-rw-r--r-- | src/fsm/main.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/fsm/main.c b/src/fsm/main.c index 8b56f22..1712810 100644 --- a/src/fsm/main.c +++ b/src/fsm/main.c @@ -300,12 +300,9 @@ static void exercise_fsm(void *pvParameters) void init() { - // ---------- SysTick timer -------- // - if (SysTick_Config(SystemCoreClock / 1000)) { - // Capture error - while (1){}; - } - + /* Initialise the onboard peripherals + * Four LEDs and one push-button + */ RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOA, ENABLE); RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOD, ENABLE); |