Make this pr great again

This commit is contained in:
Ben Meadors
2023-01-21 19:26:09 -06:00
committed by Thomas Göttgens
parent e9acf413fb
commit 2c1b7840c5
2 changed files with 4 additions and 2 deletions

View File

@@ -72,7 +72,8 @@ template <typename T> bool SX126xInterface<T>::init()
res = lora.setDio2AsRfSwitch(false);
#endif
#ifdef SX126X_E22
// E22 Emulation explicitly requires DIO2 as RF switch, so set it to TRUE again for good measure. In case somebody defines SX126X_TX for an E22 Module
// E22 Emulation explicitly requires DIO2 as RF switch, so set it to TRUE again for good measure. In case somebody defines
// SX126X_TX for an E22 Module
if (res == RADIOLIB_ERR_NONE)
res = lora.setDio2AsRfSwitch(true);
#endif