mirror of
https://github.com/meshtastic/firmware.git
synced 2026-10-14 19:32:51 -04:00
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:
1 parent
99882a675b
commit
ca75dcd64d
3 files changed
+88
-36
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user