Skip to content
Commit c04228cb authored by David Herrmann's avatar David Herrmann Committed by Zbigniew Jędrzejewski-Szmek
Browse files

console: fix error-code inversion

The error-code propagated via sysview is always negative. Avoid
multiplying by -1 before returning it. Otherwise, we will return >0
instead of <0, which will not be detected as error by sysview-core.

(cherry picked from commit 84c3561c)
parent c59d6152
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment