HAL_PX4: fixed build for new PX4Firmware
This commit is contained in:
parent
ea90984d8c
commit
333f0532b7
@ -115,7 +115,7 @@ void PX4RCOutput::set_freq(uint32_t chmask, uint16_t freq_hz)
|
||||
}
|
||||
}
|
||||
|
||||
if (ioctl(_pwm_fd, PWM_SERVO_SELECT_UPDATE_RATE, _rate_mask) != 0) {
|
||||
if (ioctl(_pwm_fd, PWM_SERVO_SET_SELECT_UPDATE_RATE, _rate_mask) != 0) {
|
||||
hal.console->printf("RCOutput: Unable to set alt rate mask to 0x%x\n", (unsigned)_rate_mask);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user