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

Function _restore_serial

components/drivers/serial/serial_tty.c:137–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135}
136
137rt_inline void _restore_serial(struct rt_serial_device *serial, lwp_tty_t tp,
138 struct serial_tty_context *softc)
139{
140 rt_device_control(&serial->parent, RT_DEVICE_CTRL_NOTIFY_SET, &softc->backup_notify);
141}
142
143static void _serial_tty_set_speed(struct lwp_tty *tp)
144{

Callers

nothing calls this directly

Calls 1

rt_device_controlFunction · 0.85

Tested by

no test coverage detected