fix some cppcheck warnings

This commit is contained in:
Mike Kinney
2022-01-24 07:00:14 +00:00
parent 8a79ede285
commit b3210f6c2c
20 changed files with 82 additions and 45 deletions

View File

@@ -9,7 +9,7 @@
*/
class RF95Interface : public RadioLibInterface
{
RadioLibRF95 *lora; // Either a RFM95 or RFM96 depending on what was stuffed on this board
RadioLibRF95 *lora = NULL; // Either a RFM95 or RFM96 depending on what was stuffed on this board
public:
RF95Interface(RADIOLIB_PIN_TYPE cs, RADIOLIB_PIN_TYPE irq, RADIOLIB_PIN_TYPE rst, SPIClass &spi);
@@ -63,4 +63,4 @@ class RF95Interface : public RadioLibInterface
private:
/** Some boards require GPIO control of tx vs rx paths */
void setTransmitEnable(bool txon);
};
};