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

Function rt_mbox_release

components/drivers/mailbox/mailbox.c:340–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340rt_err_t rt_mbox_release(struct rt_mbox_chan *chan)
341{
342 if (chan)
343 {
344 chan->ctrl->ops->release(chan);
345 }
346 else
347 {
348 return -RT_EINVAL;
349 }
350
351 return RT_EOK;
352}

Callers 2

rt_mbox_request_by_indexFunction · 0.85

Calls 1

releaseMethod · 0.80

Tested by

no test coverage detected