mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
Fix an error in SLIP escaping
This commit is contained in:
+1
-1
@@ -355,12 +355,12 @@ static int slip_transmit(FAR struct slip_driver_s *priv)
|
||||
if (len > 0)
|
||||
{
|
||||
slip_write(priv, start, len);
|
||||
}
|
||||
|
||||
/* Reset */
|
||||
|
||||
start = src + 1;
|
||||
len = 0;
|
||||
}
|
||||
|
||||
/* Then send the escape sequence */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user