fixed macro names

This commit is contained in:
Timm Bogner 2022-07-07 21:15:50 -05:00
parent e74c7f22fe
commit 64eb35a918

View File

@ -625,10 +625,10 @@ void begin_espnow() {
void begin_lora(){ void begin_lora(){
#ifdef USE_LORA #ifdef USE_LORA
DBG("Initializing LoRa!"); DBG("Initializing LoRa!");
#ifdef ESP32 #ifdef ESP32
SPI.begin(SCK, MISO, MOSI); SPI.begin(SPI_SCK, SPI_MISO, SPI_MOSI);
#endif #endif
LoRa.setPins(SS, RST, DIO0); LoRa.setPins(LORA_SS, LORA_RST, LORA_DIO0);
if (!LoRa.begin(FDRS_BAND)) { if (!LoRa.begin(FDRS_BAND)) {
DBG(" Initialization failed!"); DBG(" Initialization failed!");
while (1); while (1);