Add support for SX1262 based TBEAMs, see below for more details.

We probe dynamically for the SX1262 or RF95 based radios on TBEAM1.0
boards now.  If either is present it will be used.
This commit is contained in:
geeksville
2020-08-20 15:42:36 -07:00
parent 99882a675b
commit ca75dcd64d
3 changed files with 88 additions and 36 deletions

View File

@@ -13,7 +13,6 @@ RadioLibInterface::RadioLibInterface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq
SPIClass &spi, PhysicalLayer *_iface)
: concurrency::PeriodicTask(0), module(cs, irq, rst, busy, spi, spiSettings), iface(_iface)
{
assert(!instance); // We assume only one for now
instance = this;
}