aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/stm32/drv_hrt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/stm32/drv_hrt.c')
-rw-r--r--src/drivers/stm32/drv_hrt.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/drivers/stm32/drv_hrt.c b/src/drivers/stm32/drv_hrt.c
index 1cc18afda..58529fb03 100644
--- a/src/drivers/stm32/drv_hrt.c
+++ b/src/drivers/stm32/drv_hrt.c
@@ -59,7 +59,7 @@
#include <errno.h>
#include <string.h>
-#include <arch/board/board.h>
+#include <board_config.h>
#include <drivers/drv_hrt.h>
#include "chip.h"
@@ -70,8 +70,6 @@
#include "stm32_gpio.h"
#include "stm32_tim.h"
-#ifdef HRT_TIMER
-
/* HRT configuration */
#if HRT_TIMER == 1
# define HRT_TIMER_BASE STM32_TIM1_BASE
@@ -905,6 +903,3 @@ hrt_latency_update(void)
/* catch-all at the end */
latency_counters[index]++;
}
-
-
-#endif /* HRT_TIMER */