From d301aa6a3768d6527f0156469c4e8b01258076b3 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sun, 14 Jan 2024 16:48:06 +0100 Subject: [PATCH] [SX126x] Fix txMode made private --- src/modules/SX126x/SX126x.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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);