mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 14:53:32 +08:00
[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);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
if (serial->ops->putc(serial, *(char*)data) == -1)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user