mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-27 01:28:23 +00:00
[Posix]termios parameter issue.
This commit is contained in:
@@ -1024,7 +1024,7 @@ static rt_err_t rt_serial_control(struct rt_device *dev,
|
||||
break;
|
||||
case TCFLSH:
|
||||
{
|
||||
int queue = *(int *)args;
|
||||
int queue = (int)args;
|
||||
|
||||
_serial_flush(serial, queue);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user