WIP multichannel support

This commit is contained in:
Kevin Hester committed 2021-02-16 15:41:52 +08:00
1 parent 418a12e75f
commit 45caf394f0
18 files changed
+421 -275

No files matched your search

+3 -2
View File
@@ -4,6 +4,7 @@
#include "NodeDB.h"
#include "PowerFSM.h"
#include "RadioInterface.h"
#include "Channels.h"
#include <assert.h>
#if FromRadio_size > MAX_TO_FROM_RADIO_SIZE
@@ -279,9 +280,9 @@ void PhoneAPI::handleSetOwner(const User &o)
service.reloadOwner();
}
void PhoneAPI::handleSetChannel(const ChannelSettings &cc)
void PhoneAPI::handleSetChannel(const Channel &cc)
{
radioConfig.channel_settings = cc;
channels.setChannel(cc);
bool didReset = service.reloadConfig();
if (didReset) {