Some work, stuck by dependencies

This commit is contained in:
Pawel Spychalski
2018-05-23 11:45:48 +02:00
parent e240fbc412
commit 917b1514fd
6 changed files with 71 additions and 14 deletions

View File

@@ -18,4 +18,21 @@ void PlatformNode::setRcChannel(uint8_t channel, int value, int offset) {
if (channel < PLATFORM_TOTAL_CHANNEL_COUNT) {
_channels[channel] = value + offset;
}
}
void PlatformNode::enterBindMode(void) {
isBindMode = true;
// radioNode.set(
// 0, // Minimum power
// 125000, // 125kHz bandwidth
// 6, // low spreading factor, we do not need high RX sensitivity
// 5, // same for coding rate
// 868000000 //Fixed frequency while binding
// );
}
void PlatformNode::leaveBindMode(void) {
isBindMode = false;
}