From c93794999e6f3912184b6be0ff0641b9713e0751 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 11 Feb 2014 15:58:16 +1100 Subject: [PATCH] HAL_PX4: remove an old conditional define --- libraries/AP_HAL_PX4/RCOutput.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/libraries/AP_HAL_PX4/RCOutput.cpp b/libraries/AP_HAL_PX4/RCOutput.cpp index a7c9ec268a..76484f6a4a 100644 --- a/libraries/AP_HAL_PX4/RCOutput.cpp +++ b/libraries/AP_HAL_PX4/RCOutput.cpp @@ -26,11 +26,9 @@ void PX4RCOutput::init(void* unused) if (ioctl(_pwm_fd, PWM_SERVO_ARM, 0) != 0) { hal.console->printf("RCOutput: Unable to setup IO arming\n"); } -#ifdef PWM_SERVO_SET_ARM_OK if (ioctl(_pwm_fd, PWM_SERVO_SET_ARM_OK, 0) != 0) { hal.console->printf("RCOutput: Unable to setup IO arming OK\n"); } -#endif _rate_mask = 0; _alt_fd = -1; _servo_count = 0;