From 3ef05c0eb99bc1b8e9ef791684f2bd8dfbc32b6a Mon Sep 17 00:00:00 2001 From: Dominic Clifton Date: Thu, 17 Apr 2014 14:45:05 +0100 Subject: [PATCH] Update timer drivers so they do not include "board.h". It is now clear what all timer drivers need to compile and what was unnecessarily included before. --- src/drivers/timer_common.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/drivers/timer_common.c b/src/drivers/timer_common.c index ed6ae13462..369e8ea61f 100644 --- a/src/drivers/timer_common.c +++ b/src/drivers/timer_common.c @@ -1,4 +1,13 @@ -#include "board.h" + +#include +#include + +#include "platform.h" + +#include "gpio_common.h" +#include "system_common.h" + +#include "timer_common.h" /* FreeFlight/Naze32 timer layout TIM2_CH1 RC1 PWM1