ardupilot/libraries/AP_HAL_Linux/RCOutput.cpp

39 lines
692 B
C++
Raw Normal View History

2013-09-22 03:01:24 -03:00
#include "RCOutput.h"
using namespace Linux;
void LinuxRCOutput::init(void* machtnichts) {}
void LinuxRCOutput::set_freq(uint32_t chmask, uint16_t freq_hz) {}
uint16_t LinuxRCOutput::get_freq(uint8_t ch) {
return 50;
}
void LinuxRCOutput::enable_ch(uint8_t ch)
{}
void LinuxRCOutput::enable_mask(uint32_t chmask)
{}
void LinuxRCOutput::disable_ch(uint8_t ch)
{}
void LinuxRCOutput::disable_mask(uint32_t chmask)
{}
void LinuxRCOutput::write(uint8_t ch, uint16_t period_us)
{}
void LinuxRCOutput::write(uint8_t ch, uint16_t* period_us, uint8_t len)
{}
uint16_t LinuxRCOutput::read(uint8_t ch) {
return 900;
}
void LinuxRCOutput::read(uint16_t* period_us, uint8_t len)
{}