1 /*
2 * Copyright (c) 2021 Demant
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7 #include <zephyr/types.h>
8 #include <zephyr/ztest.h>
9 #include "util/memq.h"
10 #include "util/mayfly.h"
11
mayfly_init(void)12 void mayfly_init(void)
13 {
14 }
15
mayfly_enable(uint8_t caller_id,uint8_t callee_id,uint8_t enable)16 void mayfly_enable(uint8_t caller_id, uint8_t callee_id, uint8_t enable)
17 {
18 }
19
mayfly_is_enabled(uint8_t caller_id,uint8_t callee_id)20 uint32_t mayfly_is_enabled(uint8_t caller_id, uint8_t callee_id)
21 {
22 ARG_UNUSED(caller_id);
23 ARG_UNUSED(callee_id);
24
25 return 0;
26 }
27
mayfly_enqueue(uint8_t caller_id,uint8_t callee_id,uint8_t chain,struct mayfly * m)28 uint32_t mayfly_enqueue(uint8_t caller_id, uint8_t callee_id, uint8_t chain, struct mayfly *m)
29 {
30 return 0;
31 }
32
mayfly_run(uint8_t callee_id)33 void mayfly_run(uint8_t callee_id)
34 {
35 }
36
mayfly_is_running(void)37 uint32_t mayfly_is_running(void)
38 {
39 return 0U;
40 }
41