Skip to content

Commit 6dfad60

Browse files
sjancjhedberg
authored andcommitted
tests: bt: host: mock z_sys_post_kernel
unit tests needs mocking for z_sys_post_kernel. Signed-off-by: Szymon Janc <[email protected]>
1 parent c0d973d commit 6dfad60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/bluetooth/host/conn/mocks/kernel.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ DEFINE_FAKE_VALUE_FUNC(void *, k_heap_aligned_alloc, struct k_heap *,
3939
size_t, size_t, k_timeout_t);
4040

4141
struct k_work_q k_sys_work_q;
42+
bool z_sys_post_kernel = true;

0 commit comments

Comments
 (0)