more cppcheck warnings fixes
This commit is contained in:
1 parent
be0b9979bc
commit
caaa235c5d
57 files changed
+167
-161
No files matched your search
+2
-2
@@ -141,7 +141,7 @@ class PowerFSMThread : public OSThread
|
||||
PowerFSMThread() : OSThread("PowerFSM") {}
|
||||
|
||||
protected:
|
||||
int32_t runOnce()
|
||||
int32_t runOnce() override
|
||||
{
|
||||
powerFSM.run_machine();
|
||||
|
||||
@@ -242,7 +242,7 @@ class ButtonThread : public OSThread
|
||||
|
||||
protected:
|
||||
/// If the button is pressed we suppress CPU sleep until release
|
||||
int32_t runOnce()
|
||||
int32_t runOnce() override
|
||||
{
|
||||
canSleep = true; // Assume we should not keep the board awake
|
||||
|
||||
|
||||
Reference in new issue
Block a user