meet cpp check requirements

This commit is contained in:
Linar Yusupov 2025-02-01 11:32:38 +03:00
parent 84a11b2f90
commit 3d38b31f0c
2 changed files with 4 additions and 4 deletions

View file

@ -204,7 +204,7 @@ class SX1272: public SX127x {
\param useRfo Whether to use the RFO (true) or the PA_BOOST (false) pin for the RF output.
\returns \ref status_codes
*/
int16_t setOutputPower(int8_t power, bool useRfo);
int16_t setOutputPower(int8_t power, bool useRfo) override;
/*!
\brief Check if output power is configurable.
@ -222,7 +222,7 @@ class SX1272: public SX127x {
\param useRfo Whether to use the RFO (true) or the PA_BOOST (false) pin for the RF output.
\returns \ref status_codes
*/
int16_t checkOutputPower(int8_t power, int8_t* clipped, bool useRfo);
int16_t checkOutputPower(int8_t power, int8_t* clipped, bool useRfo) override;
/*!
\brief Sets gain of receiver LNA (low-noise amplifier). Can be set to any integer in range 1 to 6 where 1 is the highest gain.

View file

@ -216,7 +216,7 @@ class SX1278: public SX127x {
\param useRfo Whether to use the RFO (true) or the PA_BOOST (false) pin for the RF output.
\returns \ref status_codes
*/
int16_t setOutputPower(int8_t power, bool useRfo);
int16_t setOutputPower(int8_t power, bool useRfo) override;
/*!
\brief Check if output power is configurable.
@ -234,7 +234,7 @@ class SX1278: public SX127x {
\param useRfo Whether to use the RFO (true) or the PA_BOOST (false) pin for the RF output.
\returns \ref status_codes
*/
int16_t checkOutputPower(int8_t power, int8_t* clipped, bool useRfo);
int16_t checkOutputPower(int8_t power, int8_t* clipped, bool useRfo) override;
/*!
\brief Sets gain of receiver LNA (low-noise amplifier). Can be set to any integer in range 1 to 6 where 1 is the highest gain.