[SX126x] Fix txMode made private

pull/936/head
jgromes 2024-01-14 16:48:06 +01:00
rodzic b2d1306e9e
commit d301aa6a37
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -1126,6 +1126,9 @@ class SX126x: public PhysicalLayer {
#endif
const char* chipType;
uint8_t bandwidth = 0;
// Allow subclasses to define different TX modes
uint8_t txMode = Module::MODE_TX;
int16_t setFrequencyRaw(float freq);
int16_t fixPaClamping(bool enable = true);
@ -1155,9 +1158,6 @@ class SX126x: public PhysicalLayer {
size_t implicitLen = 0;
uint8_t invertIQEnabled = RADIOLIB_SX126X_LORA_IQ_STANDARD;
// Allow subclasses to define different TX modes
uint8_t txMode = Module::MODE_TX;
int16_t config(uint8_t modem);
bool findChip(const char* verStr);
int16_t startReceiveCommon(uint32_t timeout = RADIOLIB_SX126X_RX_TIMEOUT_INF, uint16_t irqFlags = RADIOLIB_SX126X_IRQ_RX_DEFAULT, uint16_t irqMask = RADIOLIB_SX126X_IRQ_RX_DONE);