From 4fd7630ec96f26926d979796f41aaed1a3a3967b Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 27 Jan 2013 15:05:28 +1100 Subject: [PATCH] HAL_PX4: IO_SET_FEATURES is not needed any more --- libraries/AP_HAL_PX4/RCOutput.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/libraries/AP_HAL_PX4/RCOutput.cpp b/libraries/AP_HAL_PX4/RCOutput.cpp index 2cb8225ea4..58105c6c64 100644 --- a/libraries/AP_HAL_PX4/RCOutput.cpp +++ b/libraries/AP_HAL_PX4/RCOutput.cpp @@ -23,8 +23,7 @@ void PX4RCOutput::init(void* unused) if (_pwm_fd == -1) { hal.scheduler->panic("Unable to open " PWM_OUTPUT_DEVICE_PATH); } - if (ioctl(_pwm_fd, PWM_IO_SET_FEATURES, PWM_IO_FEATURE_ARM_OK) != 0 || - ioctl(_pwm_fd, PWM_SERVO_ARM, 0) != 0) { + if (ioctl(_pwm_fd, PWM_SERVO_ARM, 0) != 0) { hal.console->printf("RCOutput: Unable to setup IO arming\n"); } }