Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logging: backend_rtt: Align to changes in RTT_LOCK/UNLOCK
RTT_LOCK/UNLOCK in certain configuration creates code block (curly braces). In that case variables declared inside are local to that block. Moved declaration of ret variable before the block. Updated code to ensure that RTT_LOCK/UNLOCK are in the same code block. Signed-off-by: Krzysztof Chruscinski <[email protected]>
- Loading branch information