Files
sunnypilot/tools/scripts/profiling/clpeak/run_continuously.patch
T
github-actions[bot] d813c76925 sunnypilot v2026.08.15-4650
version: sunnypilot v2026.003.000 (feature-branch)
date: 2026-08-15T18:45:12
master commit: 7a9099818f
2026-08-15 18:45:12 +00:00

14 lines
436 B
Diff

diff --git a/src/clpeak.cpp b/src/clpeak.cpp
index 8cb192b..b6fe6f5 100644
--- a/src/clpeak.cpp
+++ b/src/clpeak.cpp
@@ -47,7 +47,7 @@ int clPeak::runAll()
log->xmlOpenTag("clpeak");
log->xmlAppendAttribs("os", OS_NAME);
- for (size_t p = 0; p < platforms.size(); p++)
+ for (size_t p = 0; p < platforms.size(); (p+1 % platforms.size()))
{
if (forcePlatform && (p != specifiedPlatform))
continue;