Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
logging: Fix synchronous logging in thread context
Due to flipped logic is_irq_locked function was returning true then interrupts were unlocked. Because of that CONFIG_LOG_BLOCK_IN_THREAD feature was not working correctly and wasn't locking thread context when log message buffer pool was empty. Signed-off-by: Krzysztof Chruscinski <[email protected]>
- Loading branch information