From aaa48ba4d878a34e78f22ebc2391dd645fcd2247 Mon Sep 17 00:00:00 2001 From: jgromes Date: Sat, 18 Jan 2025 17:47:54 +0100 Subject: [PATCH] [Si443x] Cppcheck fixes --- src/modules/Si443x/Si4430.h | 2 +- src/modules/Si443x/Si4431.h | 2 +- src/modules/Si443x/Si4432.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/Si443x/Si4430.h b/src/modules/Si443x/Si4430.h index 2d212e05..e7923687 100644 --- a/src/modules/Si443x/Si4430.h +++ b/src/modules/Si443x/Si4430.h @@ -35,7 +35,7 @@ class Si4430: public Si4432 { \param preambleLen Preamble Length in bits. Defaults to 16 bits. \returns \ref status_codes */ - int16_t begin(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 181.1, int8_t power = 10, uint8_t preambleLen = 16); + int16_t begin(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 181.1, int8_t power = 10, uint8_t preambleLen = 16) override; // configuration methods diff --git a/src/modules/Si443x/Si4431.h b/src/modules/Si443x/Si4431.h index a8939ea1..9eddc268 100644 --- a/src/modules/Si443x/Si4431.h +++ b/src/modules/Si443x/Si4431.h @@ -35,7 +35,7 @@ class Si4431: public Si4432 { \param preambleLen Preamble Length in bits. Defaults to 16 bits. \returns \ref status_codes */ - int16_t begin(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 181.1, int8_t power = 10, uint8_t preambleLen = 16); + int16_t begin(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 181.1, int8_t power = 10, uint8_t preambleLen = 16) override; // configuration methods diff --git a/src/modules/Si443x/Si4432.h b/src/modules/Si443x/Si4432.h index f3ac0661..8bfe3101 100644 --- a/src/modules/Si443x/Si4432.h +++ b/src/modules/Si443x/Si4432.h @@ -35,7 +35,7 @@ class Si4432: public Si443x { \param preambleLen Preamble Length in bits. Defaults to 16 bits. \returns \ref status_codes */ - int16_t begin(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 181.1, int8_t power = 10, uint8_t preambleLen = 16); + virtual int16_t begin(float freq = 434.0, float br = 4.8, float freqDev = 5.0, float rxBw = 181.1, int8_t power = 10, uint8_t preambleLen = 16); // configuration methods