reverse interrupt change for SX126x

pull/172/head
Timm Bogner 1 year ago
parent 4b675428ec
commit 67d0559adf

@ -292,7 +292,7 @@ void begin_lora()
;
}
#ifdef USE_SX126X
radio.setDio1Action(setFlag, RISING);
radio.setDio1Action(setFlag);
#else
radio.setDio0Action(setFlag, RISING);
#endif

@ -169,7 +169,7 @@ void begin_lora()
}
DBG("LoRa Initialized. Frequency: " + String(FDRS_LORA_FREQUENCY) + " Bandwidth: " + String(FDRS_LORA_BANDWIDTH) + " SF: " + String(FDRS_LORA_SF) + " CR: " + String(FDRS_LORA_CR) + " SyncWord: " + String(FDRS_LORA_SYNCWORD) + " Tx Power: " + String(FDRS_LORA_TXPWR) + "dBm");
#ifdef USE_SX126X
radio.setDio1Action(setFlag, RISING);
radio.setDio1Action(setFlag);
#else
radio.setDio0Action(setFlag, RISING);
#endif

Loading…
Cancel
Save