diff --git a/src/modules/SX126x/SX126x.h b/src/modules/SX126x/SX126x.h index 8c9c35d2..f162dc93 100644 --- a/src/modules/SX126x/SX126x.h +++ b/src/modules/SX126x/SX126x.h @@ -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);