aboutsummaryrefslogtreecommitdiff
path: root/nuttx-configs/px4io-v1/include/board.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx-configs/px4io-v1/include/board.h')
-rwxr-xr-xnuttx-configs/px4io-v1/include/board.h12
1 files changed, 4 insertions, 8 deletions
diff --git a/nuttx-configs/px4io-v1/include/board.h b/nuttx-configs/px4io-v1/include/board.h
index 668602ea8..6503a94cd 100755
--- a/nuttx-configs/px4io-v1/include/board.h
+++ b/nuttx-configs/px4io-v1/include/board.h
@@ -118,10 +118,8 @@
/*
* High-resolution timer
*/
-#ifdef CONFIG_HRT_TIMER
-# define HRT_TIMER 1 /* use timer1 for the HRT */
-# define HRT_TIMER_CHANNEL 2 /* use capture/compare channel 2 */
-#endif
+#define HRT_TIMER 1 /* use timer1 for the HRT */
+#define HRT_TIMER_CHANNEL 2 /* use capture/compare channel 2 */
/*
* PPM
@@ -130,10 +128,8 @@
*
* Pin is PA8, timer 1, channel 1
*/
-#if defined(CONFIG_HRT_TIMER) && defined (CONFIG_HRT_PPM)
-# define HRT_PPM_CHANNEL 1 /* use capture/compare channel 1 */
-# define GPIO_PPM_IN GPIO_TIM1_CH1IN
-#endif
+#define HRT_PPM_CHANNEL 1 /* use capture/compare channel 1 */
+#define GPIO_PPM_IN GPIO_TIM1_CH1IN
/************************************************************************************
* Public Data