diff options
Diffstat (limited to 'src/stm32/setup.c')
-rw-r--r-- | src/stm32/setup.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/stm32/setup.c b/src/stm32/setup.c index 4f56535..9de1f48 100644 --- a/src/stm32/setup.c +++ b/src/stm32/setup.c @@ -7,6 +7,7 @@ #include "main.h" #include "setup.h" +#include "demo.h" #include "ppu/ppu.h" UART_HandleTypeDef huart2 = { @@ -73,6 +74,7 @@ void hh_setup() { hh_io_tim_setup(); hh_ppu_init(); + hh_demo_setup(); } void hh_exit() { @@ -150,6 +152,7 @@ void hh_io_gpio_setup() { void HAL_MspInit() { __HAL_RCC_SYSCFG_CLK_ENABLE(); __HAL_RCC_PWR_CLK_ENABLE(); + HAL_NVIC_SetPriority(PendSV_IRQn, 3, 0); } void HAL_SPI_MspInit(SPI_HandleTypeDef* hspi) { |