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

Function client_getchar

components/net/at/src/at_cli.c:156–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154
155#ifdef AT_USING_CLIENT
156static char client_getchar(void)
157{
158 char ch;
159
160 rt_sem_take(&client_rx_notice, RT_WAITING_FOREVER);
161 rt_ringbuffer_getchar(client_rx_fifo, (rt_uint8_t *)&ch);
162
163 return ch;
164}
165
166static void at_client_entry(void *param)
167{

Callers 1

at_client_entryFunction · 0.85

Calls 2

rt_sem_takeFunction · 0.85
rt_ringbuffer_getcharFunction · 0.85

Tested by

no test coverage detected