[drivers/serial]resolve compile error
Signed-off-by: WillianChan <chentingwei@rt-thread.com>
This commit is contained in:
parent
c6b4c2ea2b
commit
ee3d05f583
|
@ -328,6 +328,7 @@ rt_inline int _serial_int_tx(struct rt_serial_device *serial, const rt_uint8_t *
|
||||||
rt_completion_wait(&(tx->completion), RT_WAITING_FOREVER);
|
rt_completion_wait(&(tx->completion), RT_WAITING_FOREVER);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (serial->ops->putc(serial, *(char*)data) == -1)
|
if (serial->ops->putc(serial, *(char*)data) == -1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue