fix misc cppcheck things and compile time warnings (#5710)

This commit is contained in:
Thomas Göttgens
2024-12-31 15:58:59 +01:00
committed by GitHub
parent 9af8c58c40
commit 8b34c4ff05
8 changed files with 45 additions and 38 deletions

View File

@@ -26,7 +26,7 @@ class Ch341Hal : public RadioLibHal
{
public:
// default constructor - initializes the base HAL and any needed private members
Ch341Hal(uint8_t spiChannel, uint32_t spiSpeed = 2000000, uint8_t spiDevice = 0, uint8_t gpioDevice = 0)
explicit Ch341Hal(uint8_t spiChannel, uint32_t spiSpeed = 2000000, uint8_t spiDevice = 0, uint8_t gpioDevice = 0)
: RadioLibHal(PI_INPUT, PI_OUTPUT, PI_LOW, PI_HIGH, PI_RISING, PI_FALLING)
{
}