ugly WIP on switching to RadioLib, still need to set freq etc...

This commit is contained in:
geeksville
2020-04-29 14:54:03 -07:00
parent a7d153abcb
commit 814c126e67
12 changed files with 291 additions and 15 deletions

View File

@@ -24,7 +24,7 @@ separated by 2.16 MHz with respect to the adjacent channels. Channel zero starts
/// Sometimes while debugging it is useful to set this false, to disable rf95 accesses
bool useHardware = true;
MeshRadio::MeshRadio() // , manager(radioIf)
MeshRadio::MeshRadio(RadioInterface *rIf) : radioIf(*rIf) // , manager(radioIf)
{
myNodeInfo.num_channels = NUM_CHANNELS;
@@ -122,4 +122,3 @@ int MeshRadio::reloadConfig(void *unused)
return 0;
}