diff --git a/src/modules/LR11x0/LR11x0.h b/src/modules/LR11x0/LR11x0.h index 0fdabec0..e7affc82 100644 --- a/src/modules/LR11x0/LR11x0.h +++ b/src/modules/LR11x0/LR11x0.h @@ -656,7 +656,7 @@ class LR11x0: public PhysicalLayer { \brief Default constructor. \param mod Instance of Module that will be used to communicate with the radio. */ - LR11x0(Module* mod); // cppcheck-suppress noExplicitConstructor + explicit LR11x0(Module* mod); /*! \brief Whether the module has an XTAL (true) or TCXO (false). Defaults to false. diff --git a/src/modules/SX126x/SX126x.h b/src/modules/SX126x/SX126x.h index 2adcd192..8cc3540b 100644 --- a/src/modules/SX126x/SX126x.h +++ b/src/modules/SX126x/SX126x.h @@ -452,7 +452,7 @@ class SX126x: public PhysicalLayer { \brief Default constructor. \param mod Instance of Module that will be used to communicate with the radio. */ - SX126x(Module* mod); // cppcheck-suppress noExplicitConstructor + explicit SX126x(Module* mod); /*! \brief Whether the module has an XTAL (true) or TCXO (false). Defaults to false. @@ -972,7 +972,7 @@ class SX126x: public PhysicalLayer { \param irqMask Mask indicating which IRQ triggers a DIO \returns \ref status_codes */ - int16_t irqRxDoneRxTimeout(uint32_t &irqFlags, uint32_t &irqMask); + int16_t irqRxDoneRxTimeout(uint32_t &irqFlags, uint32_t &irqMask) override; /*! \brief Check whether the IRQ bit for RxTimeout is set diff --git a/src/modules/SX127x/SX127x.h b/src/modules/SX127x/SX127x.h index 4b692667..a9711d81 100644 --- a/src/modules/SX127x/SX127x.h +++ b/src/modules/SX127x/SX127x.h @@ -594,7 +594,7 @@ class SX127x: public PhysicalLayer { \brief Default constructor. Called internally when creating new LoRa instance. \param mod Instance of Module that will be used to communicate with the %LoRa chip. */ - SX127x(Module* mod); // cppcheck-suppress noExplicitConstructor + explicit SX127x(Module* mod); // basic methods diff --git a/src/modules/SX128x/SX128x.h b/src/modules/SX128x/SX128x.h index 32044a68..fd8e2e03 100644 --- a/src/modules/SX128x/SX128x.h +++ b/src/modules/SX128x/SX128x.h @@ -359,7 +359,7 @@ class SX128x: public PhysicalLayer { \brief Default constructor. \param mod Instance of Module that will be used to communicate with the radio. */ - SX128x(Module* mod); // cppcheck-suppress noExplicitConstructor + explicit SX128x(Module* mod); // basic methods