summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-05-30 00:52:22 +0700
committerhathach <[email protected]>2026-05-30 00:52:22 +0700
commita64eb336c4a8d3f9c160aa30b81033e3ad7227d8 (patch)
tree5ff9c3a1a2f5a33e920980e672b53ea0bf0fd093 /src
parentfc933e341df29e2ab6fa62508d45a92c65a621fb (diff)
dynamic_switch: hoist while(1) out for OS_NONE
Sonar flagged the loop body as executing only once on OS_NONE because the OS_NONE branch returns inside the first iteration (main() drives the task again). Make the while(1) conditional on RTOS so the OS_NONE build is a straight-line function with no misleading loop. Co-Authored-By: Claude Opus 4.7 <[email protected]>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions