Misc cppcheck fixes (#7370)

This commit is contained in:
Jonathan Bennett authored and GitHub committed 2025-07-20 06:19:45 -05:00
1 parent 855514b4f3
commit 91049d0db3
10 files changed
+34 -40

No files matched your search

+1 -4
View File
@@ -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;