AP_HAL_VRBRAIN: rename enable_sbus_out to enable_px4io_sbus_out

This commit is contained in:
Mark Whitehorn 2017-11-22 12:12:25 -07:00 committed by Andrew Tridgell
parent 12ea8efa84
commit 644f5b75e6
2 changed files with 2 additions and 2 deletions

View File

@ -559,7 +559,7 @@ void VRBRAINRCOutput::_timer_tick(void)
/*
enable sbus output
*/
bool VRBRAINRCOutput::enable_sbus_out(uint16_t rate_hz)
bool VRBRAINRCOutput::enable_px4io_sbus_out(uint16_t rate_hz)
{
int fd = open("/dev/px4io", 0);
if (fd == -1) {

View File

@ -35,7 +35,7 @@ public:
void set_output_mode(enum output_mode mode) override;
void _timer_tick(void);
bool enable_sbus_out(uint16_t rate_hz) override;
bool enable_px4io_sbus_out(uint16_t rate_hz) override;
private:
int _pwm_fd;