From aec33b8a7df52a25e642bc448bfc7ebc2f72ea95 Mon Sep 17 00:00:00 2001 From: easyco Date: Thu, 11 May 2017 13:19:44 +0800 Subject: [PATCH] Add MATEKF405 target --- src/main/target/MATEKF405/target.c | 1 + src/main/target/MATEKF405/target.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/target/MATEKF405/target.c b/src/main/target/MATEKF405/target.c index d546c4373..d29cf723a 100644 --- a/src/main/target/MATEKF405/target.c +++ b/src/main/target/MATEKF405/target.c @@ -37,3 +37,4 @@ const timerHardware_t timerHardware[USABLE_TIMER_CHANNEL_COUNT] = { DEF_TIM(TIM4, CH1, PB6, TIM_USE_LED, TIMER_OUTPUT_ENABLED, 0) // LED DMA1_ST0 }; + diff --git a/src/main/target/MATEKF405/target.h b/src/main/target/MATEKF405/target.h index 6e6686749..430fb68a5 100644 --- a/src/main/target/MATEKF405/target.h +++ b/src/main/target/MATEKF405/target.h @@ -141,4 +141,4 @@ #define TARGET_IO_PORTD (BIT(2)) #define USABLE_TIMER_CHANNEL_COUNT 8 -#define USED_TIMERS (TIM_N(1)|TIM_N(2)|TIM_N(3)|TIM_N(4)|TIM_N(5)|TIM_N(8)) \ No newline at end of file +#define USED_TIMERS (TIM_N(1)|TIM_N(2)|TIM_N(3)|TIM_N(4)|TIM_N(5)|TIM_N(8))