mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_HAL_VRBRAIN: rename enable_sbus_out to enable_px4io_sbus_out
This commit is contained in:
parent
12ea8efa84
commit
644f5b75e6
@ -559,7 +559,7 @@ void VRBRAINRCOutput::_timer_tick(void)
|
|||||||
/*
|
/*
|
||||||
enable sbus output
|
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);
|
int fd = open("/dev/px4io", 0);
|
||||||
if (fd == -1) {
|
if (fd == -1) {
|
||||||
|
@ -35,7 +35,7 @@ public:
|
|||||||
void set_output_mode(enum output_mode mode) override;
|
void set_output_mode(enum output_mode mode) override;
|
||||||
|
|
||||||
void _timer_tick(void);
|
void _timer_tick(void);
|
||||||
bool enable_sbus_out(uint16_t rate_hz) override;
|
bool enable_px4io_sbus_out(uint16_t rate_hz) override;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int _pwm_fd;
|
int _pwm_fd;
|
||||||
|
Loading…
Reference in New Issue
Block a user