2012-12-17 15:54:55 -04:00
|
|
|
|
|
|
|
#include "RCOutput.h"
|
|
|
|
|
|
|
|
using namespace Empty;
|
|
|
|
|
2015-12-02 11:14:20 -04:00
|
|
|
void EmptyRCOutput::init() {}
|
2012-12-17 15:54:55 -04:00
|
|
|
|
|
|
|
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)
|
|
|
|
{}
|
|
|
|
|