mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-19 23:28:32 -04:00
00f17466a8
Override the init() method from parent class that doesn't have a parameter since it's not used here.
30 lines
492 B
C++
30 lines
492 B
C++
|
|
#include "RCOutput.h"
|
|
|
|
using namespace Empty;
|
|
|
|
void EmptyRCOutput::init() {}
|
|
|
|
void EmptyRCOutput::set_freq(uint32_t chmask, uint16_t freq_hz) {}
|
|
|
|
uint16_t EmptyRCOutput::get_freq(uint8_t ch) {
|
|
return 50;
|
|
}
|
|
|
|
void EmptyRCOutput::enable_ch(uint8_t ch)
|
|
{}
|
|
|
|
void EmptyRCOutput::disable_ch(uint8_t ch)
|
|
{}
|
|
|
|
void EmptyRCOutput::write(uint8_t ch, uint16_t period_us)
|
|
{}
|
|
|
|
uint16_t EmptyRCOutput::read(uint8_t ch) {
|
|
return 900;
|
|
}
|
|
|
|
void EmptyRCOutput::read(uint16_t* period_us, uint8_t len)
|
|
{}
|
|
|