Move Lora Init code into LoraInit.cpp/h (#9435)

* Move Lora Init code into LoraInit.cpp/h

* Add missed extern definition

* More carefully check for nullptr in LoraInit.cpp

* STM32 fixes

* Add extern SPI1 for HW_SPI1_DEVICE

* Move initLora to RadioInterface.h
This commit is contained in:
Jonathan Bennett
2026-01-25 20:54:17 -06:00
committed by GitHub
co-authored by GitHub
parent 57a3ff8dfc
commit 8a9830282a
4 changed files with 302 additions and 274 deletions
+2
View File
@@ -270,5 +270,7 @@ class RadioInterface
}
};
bool initLoRa();
/// Debug printing for packets
void printPacket(const char *prefix, const meshtastic_MeshPacket *p);