Skip to content
Commit 19b7eaaa authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Anas Nashif
Browse files

misc: mempool: Fix bit mask value



SYS_MEM_POOL_KERNEL and SYS_MEM_POOL_USER are used by k_mem_pool flags
and should be defined as a bit mask.

It was defined as zero failing in all places checking for this
bit. e.g pool_irq_lock and pool_irq_unlock were not working correctly
because the check for this flag was always returning false.

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent 8f7990de
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment