diff --git a/src/modules/SX126x/SX126x.h b/src/modules/SX126x/SX126x.h index 4784e675c..275faee39 100644 --- a/src/modules/SX126x/SX126x.h +++ b/src/modules/SX126x/SX126x.h @@ -783,14 +783,14 @@ class SX126x: public PhysicalLayer { \param bw LoRa bandwidth to be set in kHz. \returns \ref status_codes */ - int16_t setBandwidth(float bw); + virtual int16_t setBandwidth(float bw); /*! \brief Sets LoRa spreading factor. Allowed values range from 5 to 12. \param sf LoRa spreading factor to be set. \returns \ref status_codes */ - int16_t setSpreadingFactor(uint8_t sf); + virtual int16_t setSpreadingFactor(uint8_t sf); /*! \brief Sets LoRa coding rate denominator. Allowed values range from 5 to 8.