commit | 69045011733b9e97bb8974a22bb83637520f61c1 | [log] [tgz] |
---|---|---|
author | Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no> | Fri Jan 25 13:56:10 2019 +0100 |
committer | Andrew Boie <andrewboie@gmail.com> | Sat Feb 02 15:58:33 2019 -0800 |
tree | ad6d6e02d8e2768c375a173104112d63cc054e10 | |
parent | ff88b7f255a1ff5249fd178b4cab858862fe3d7f [diff] |
misc: Add k_panic on assert Replaced forever loop in assert with call to a function. In post_assert_action() function, k_panic is called. Forever loop was preventing logs to be printed and had behavior ependent on the context (low prioriy thread - system continue to ork, irq - system is blocked). Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>