mirror of
https://github.com/meshtastic/firmware.git
synced 2026-09-29 17:55:25 -04:00
Misc cppcheck fixes (#7370)
This commit is contained in:
1 parent
855514b4f3
commit
91049d0db3
10 files changed
+34
-40
No files matched your search
@@ -69,10 +69,7 @@ int32_t BuzzerFeedbackThread::runOnce()
|
||||
// This thread is primarily event-driven, but we can use runOnce
|
||||
// for any periodic tasks if needed in the future
|
||||
|
||||
if (needsUpdate) {
|
||||
needsUpdate = false;
|
||||
// Could add any periodic processing here
|
||||
}
|
||||
needsUpdate = false;
|
||||
|
||||
// Run every 100ms when active, less frequently when idle
|
||||
return needsUpdate ? 100 : 1000;
|
||||
|
||||
Reference in new issue
Block a user