From 95ae69eb1cb9141a3c20056672db86c9220db2af Mon Sep 17 00:00:00 2001 From: LukeMike Date: Tue, 5 Jul 2016 18:57:56 +0200 Subject: [PATCH] VRBRAIN /AP_BoardConfig: changed definition of PWM_SERVO_MODE_12PWM only for VRBRAIN --- libraries/AP_BoardConfig/AP_BoardConfig.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/AP_BoardConfig/AP_BoardConfig.cpp b/libraries/AP_BoardConfig/AP_BoardConfig.cpp index ca2edab817..7714be7f32 100644 --- a/libraries/AP_BoardConfig/AP_BoardConfig.cpp +++ b/libraries/AP_BoardConfig/AP_BoardConfig.cpp @@ -150,7 +150,9 @@ void AP_BoardConfig::init() { 4, PWM_SERVO_MODE_4PWM, 2 }, { 6, PWM_SERVO_MODE_6PWM, 0 }, { 7, PWM_SERVO_MODE_3PWM1CAP, 2 }, +#if CONFIG_HAL_BOARD == HAL_BOARD_VRBRAIN { 8, PWM_SERVO_MODE_12PWM, 0 }, +#endif }; uint8_t mode_parm = (uint8_t)_pwm_count.get(); uint8_t i;