MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_wm_que_set_mark

Function rt_wm_que_set_mark

components/vbus/watermark_queue.c:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14#include "watermark_queue.h"
15
16void rt_wm_que_set_mark(struct rt_watermark_queue *wg,
17 unsigned int low, unsigned int high)
18{
19 RT_ASSERT(low <= high);
20
21 wg->high_mark = high;
22 wg->low_mark = low;
23}
24
25void rt_wm_que_init(struct rt_watermark_queue *wg,
26 unsigned int low, unsigned int high)

Callers 3

rt_wm_que_initFunction · 0.85
rt_vbus_set_post_wmFunction · 0.85
rt_vbus_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected