mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-02 14:13:42 -04:00
2ffb08b9ca
Like was done for AP_HAL_Linux in 2ac96b9
("AP_HAL_Linux: remove prefix
from AP_HAL_Linux classes"), remove the "Empty" prefix from class names
since we are already inside the Empty namespace.
30 lines
452 B
C++
30 lines
452 B
C++
|
|
#include "RCOutput.h"
|
|
|
|
using namespace Empty;
|
|
|
|
void RCOutput::init() {}
|
|
|
|
void RCOutput::set_freq(uint32_t chmask, uint16_t freq_hz) {}
|
|
|
|
uint16_t RCOutput::get_freq(uint8_t ch) {
|
|
return 50;
|
|
}
|
|
|
|
void RCOutput::enable_ch(uint8_t ch)
|
|
{}
|
|
|
|
void RCOutput::disable_ch(uint8_t ch)
|
|
{}
|
|
|
|
void RCOutput::write(uint8_t ch, uint16_t period_us)
|
|
{}
|
|
|
|
uint16_t RCOutput::read(uint8_t ch) {
|
|
return 900;
|
|
}
|
|
|
|
void RCOutput::read(uint16_t* period_us, uint8_t len)
|
|
{}
|
|
|