diff --git a/.gitignore b/.gitignore index 67e2f3cbe8..14450e7565 100644 --- a/.gitignore +++ b/.gitignore @@ -28,3 +28,4 @@ make/local.mk mcu.mak mcu.mak.old +stm32.mak diff --git a/src/main/drivers/pwm_output_dshot.c b/src/main/drivers/pwm_output_dshot.c index 47e6b6824b..51397c50f0 100644 --- a/src/main/drivers/pwm_output_dshot.c +++ b/src/main/drivers/pwm_output_dshot.c @@ -24,8 +24,10 @@ #include "io.h" #include "timer.h" -#ifdef STM32F4 +#if defined(STM32F4) #include "timer_stm32f4xx.h" +#elif defined(STM32F3) +#include "timer_stm32f30x.h" #endif #include "pwm_output.h" #include "nvic.h"