samples: cc13x2_cc26x2: system_off: fix force state usage
This is the same fix as the one introduced in 49520eea ("samples: nrf: system_off: Fix force state usage") for nRF boards. Quoting original commit: The sample cannot spin in an infinity loop because the idle thread will not run and consequently the forced state will not be used. Without this fix, the system doesn't enter SOFT_OFF state: *** Booting Zephyr OS build zephyr-v3.0.0-3495-ga456c5274614 *** cc1352r1_launchxl system off demo Busy-wait 5 s Sleep 2000 us (IDLE) Sleep 3 s (STANDBY) Entering system off (SHUTDOWN); press BUTTON1 to restart ERROR: System off failed Signed-off-by:Piotr Dymacz <pepe2k@gmail.com>
Loading
Please sign in to comment