HAL_PX4: remove an old conditional define

This commit is contained in:
Andrew Tridgell 2014-02-11 15:58:16 +11:00
parent 8095eb0bee
commit c93794999e
1 changed files with 0 additions and 2 deletions

View File

@ -26,11 +26,9 @@ void PX4RCOutput::init(void* unused)
if (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"); 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) { if (ioctl(_pwm_fd, PWM_SERVO_SET_ARM_OK, 0) != 0) {
hal.console->printf("RCOutput: Unable to setup IO arming OK\n"); hal.console->printf("RCOutput: Unable to setup IO arming OK\n");
} }
#endif
_rate_mask = 0; _rate_mask = 0;
_alt_fd = -1; _alt_fd = -1;
_servo_count = 0; _servo_count = 0;