From 98e76146e87a77a9d499ce38f10dbdabb486e92e Mon Sep 17 00:00:00 2001 From: borisbstyle Date: Fri, 3 Mar 2017 01:38:42 +0100 Subject: [PATCH] Add missing timer header F3 --- .gitignore | 1 + src/main/drivers/pwm_output_dshot.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 67e2f3cbe..14450e756 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 47e6b6824..51397c50f 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"