[SX126x] Fix txMode made private

This commit is contained in:
jgromes 2024-01-14 16:48:06 +01:00
parent b2d1306e9e
commit d301aa6a37

View file

@ -1127,6 +1127,9 @@ class SX126x: public PhysicalLayer {
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);