Removed SX1262_USE_DIO3_FOR_TCXO

pull/747/head
Vadim Furman 2021-03-19 18:30:00 -07:00
rodzic d93d5d2e37
commit b6e197371d
2 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -34,7 +34,7 @@ bool SX1262Interface::init()
pinMode(SX1262_TXEN, OUTPUT); pinMode(SX1262_TXEN, OUTPUT);
#endif #endif
#if !defined(SX1262_E22) && !defined(SX1262_USE_DIO3_FOR_TCXO) #ifndef SX1262_E22
float tcxoVoltage = 0; // None - we use an XTAL float tcxoVoltage = 0; // None - we use an XTAL
#else #else
// Use DIO3 to power tcxo per https://github.com/jgromes/RadioLib/issues/12#issuecomment-520695575 // Use DIO3 to power tcxo per https://github.com/jgromes/RadioLib/issues/12#issuecomment-520695575

Wyświetl plik

@ -91,7 +91,8 @@
#define BATTERY_PIN 3 #define BATTERY_PIN 3
#define ADC_MULTIPLIER 1.436 #define ADC_MULTIPLIER 1.436
#define SX1262_USE_DIO3_FOR_TCXO #define SX1262_E22 // Not really an E22 but this board clones using DIO3 for tcxo control
#define NO_GPS #define NO_GPS
#define NO_SCREEN #define NO_SCREEN
#endif #endif