mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 01:12:11 +00:00
RTPS client remove redundant baudrate check
This commit is contained in:
@@ -103,10 +103,6 @@ static int parse_options(int argc, char *argv[])
|
|||||||
PX4_ERR("baudrate parsing failed");
|
PX4_ERR("baudrate parsing failed");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (baudrate < 9600 || baudrate > 3000000) {
|
|
||||||
PX4_ERR("invalid baud rate '%s'", myoptarg);
|
|
||||||
}
|
|
||||||
|
|
||||||
_options.baudrate = baudrate;
|
_options.baudrate = baudrate;
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user