more cppcheck warnings fixes

This commit is contained in:
Mike Kinney
2022-01-24 17:24:40 +00:00
parent be0b9979bc
commit caaa235c5d
57 changed files with 167 additions and 161 deletions

View File

@@ -26,7 +26,7 @@ class Power : private concurrency::OSThread
void shutdown();
void readPowerStatus();
virtual bool setup();
virtual int32_t runOnce();
virtual int32_t runOnce() override;
void setStatusHandler(meshtastic::PowerStatus *handler) { statusHandler = handler; }
protected:
@@ -42,4 +42,4 @@ class Power : private concurrency::OSThread
uint8_t low_voltage_counter;
};
extern Power *power;
extern Power *power;