From 3354cd89dfb78ccb5efc700ab193516b4641d46b Mon Sep 17 00:00:00 2001 From: jgromes Date: Fri, 17 Jan 2025 22:31:20 +0100 Subject: [PATCH] [SX126x] MAke LLCC68-shared methods virtual --- src/modules/SX126x/SX126x.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.