ardupilot/libraries/AP_HAL_Empty/RCOutput.cpp

30 lines
452 B
C++
Raw Normal View History

2012-12-17 15:54:55 -04:00
#include "RCOutput.h"
using namespace Empty;
void RCOutput::init() {}
2012-12-17 15:54:55 -04:00
void RCOutput::set_freq(uint32_t chmask, uint16_t freq_hz) {}
2012-12-17 15:54:55 -04:00
uint16_t RCOutput::get_freq(uint8_t ch) {
2012-12-17 15:54:55 -04:00
return 50;
}
void RCOutput::enable_ch(uint8_t ch)
2012-12-17 15:54:55 -04:00
{}
void RCOutput::disable_ch(uint8_t ch)
2012-12-17 15:54:55 -04:00
{}
void RCOutput::write(uint8_t ch, uint16_t period_us)
2012-12-17 15:54:55 -04:00
{}
uint16_t RCOutput::read(uint8_t ch) {
2012-12-17 15:54:55 -04:00
return 900;
}
void RCOutput::read(uint16_t* period_us, uint8_t len)
2012-12-17 15:54:55 -04:00
{}