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

Function finsh_rx_ind

components/finsh/shell.c:202–210  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

200
201#if !defined(RT_USING_POSIX_STDIO) && defined(RT_USING_DEVICE)
202static rt_err_t finsh_rx_ind(rt_device_t dev, rt_size_t size)
203{
204 RT_ASSERT(shell != RT_NULL);
205
206 /* release semaphore to let finsh thread rx data */
207 rt_sem_release(&shell->rx_sem);
208
209 return RT_EOK;
210}
211
212/**
213 * @ingroup group_finsh

Callers

nothing calls this directly

Calls 1

rt_sem_releaseFunction · 0.85

Tested by

no test coverage detected