diff options
| author | hathach <[email protected]> | 2026-05-30 00:52:22 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-05-30 00:52:22 +0700 |
| commit | a64eb336c4a8d3f9c160aa30b81033e3ad7227d8 (patch) | |
| tree | 5ff9c3a1a2f5a33e920980e672b53ea0bf0fd093 /examples/host/bare_api/src | |
| parent | fc933e341df29e2ab6fa62508d45a92c65a621fb (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 'examples/host/bare_api/src')
0 files changed, 0 insertions, 0 deletions
