mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-10-01 08:27:30 +08:00
[components][serial] Format termios staging declaration
This commit is contained in:
@@ -1238,7 +1238,7 @@ static rt_err_t rt_serial_control(struct rt_device *dev,
|
||||
case TCGETA:
|
||||
case TCGETS:
|
||||
{
|
||||
struct termios *tio, tmp = {0};
|
||||
struct termios *tio, tmp = { 0 };
|
||||
|
||||
if (cmd == TCGETS)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user