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); res = lora.setDio2AsRfSwitch(false);
#endif #endif
#ifdef SX126X_E22 #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) if (res == RADIOLIB_ERR_NONE)
res = lora.setDio2AsRfSwitch(true); res = lora.setDio2AsRfSwitch(true);
#endif #endif

View File

@ -192,7 +192,8 @@ Important for successful SX1262 initialization:
* Setup DIO2 to control the antenna switch * Setup DIO2 to control the antenna switch
* Setup DIO3 to control the TCXO power supply * Setup DIO3 to control the TCXO power supply
* Setup the SX1262 to use it's DCDC regulator and not the LDO * Setup the SX1262 to use it's DCDC regulator and not the LDO
* RAK4630 schematics show GPIO P1.07 connected to the antenna switch, but it should not be initialized, as DIO2 will do the control of the antenna switch * RAK4630 schematics show GPIO P1.07 connected to the antenna switch, but it should not be initialized, as DIO2 will do the
control of the antenna switch
SO GPIO 39/TXEN MAY NOT BE DEFINED FOR SUCCESSFUL OPERATION OF THE SX1262 - TG SO GPIO 39/TXEN MAY NOT BE DEFINED FOR SUCCESSFUL OPERATION OF THE SX1262 - TG