summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorWillianChan <[email protected]>2020-09-14 18:16:32 +0800
committerWillianChan <[email protected]>2020-09-14 18:17:00 +0800
commitee3d05f5833440caf8c105a6951541916600f21d (patch)
tree7f8ae0779c9e981f73386af7e66d736d1b8889ab /components
parentc6b4c2ea2b42711be7958cc640ded1024366fb36 (diff)
[drivers/serial]resolve compile error
Signed-off-by: WillianChan <[email protected]>
Diffstat (limited to 'components')
-rw-r--r--components/drivers/serial/serial.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/drivers/serial/serial.c b/components/drivers/serial/serial.c
index 65c6c46f2c..ad837a6564 100644
--- a/components/drivers/serial/serial.c
+++ b/components/drivers/serial/serial.c
@@ -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)
{