From 1e900134f560259e839b25dd49806c0a17932dd3 Mon Sep 17 00:00:00 2001 From: dewagter Date: Mon, 16 Feb 2015 16:21:57 +0100 Subject: [PATCH] [dualpwm] lisa-m --- sw/airborne/boards/lisa_m_common.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sw/airborne/boards/lisa_m_common.h b/sw/airborne/boards/lisa_m_common.h index a35e07af5d6..3c163508c3d 100644 --- a/sw/airborne/boards/lisa_m_common.h +++ b/sw/airborne/boards/lisa_m_common.h @@ -313,7 +313,8 @@ #elif USE_DUAL_PWM5 #define DUAL_PWM_SERVO_5 4 -#define FIRST_DUAL_PWM_SERVO DUAL_PWM_SERVO_5 +#define DUAL_PWM_SERVO_5_P1 0 +#define DUAL_PWM_SERVO_5_P2 1 #define DUAL_PWM_SERVO_5_TIMER TIM5 #define DUAL_PWM_SERVO_5_RCC RCC_GPIOA @@ -337,7 +338,8 @@ #elif USE_DUAL_PWM6 #define DUAL_PWM_SERVO_6 5 -#define SECOND_DUAL_PWM_SERVO DUAL_PWM_SERVO_6 +#define DUAL_PWM_SERVO_6_P1 0 +#define DUAL_PWM_SERVO_6_P2 1 #define DUAL_PWM_SERVO_6_TIMER TIM5 #define DUAL_PWM_SERVO_6_RCC RCC_GPIOA