ardupilot/libraries/AP_HAL_Empty/RCOutput.cpp
Lucas De Marchi 00f17466a8 AP_HAL_Empty: use init() method without arguments
Override the init() method from parent class that doesn't have a
parameter since it's not used here.
2015-12-02 14:49:11 -02:00

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)
{}