mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 04:10:35 +08:00
Fix typo error in micrortps_client module
Fixed the typo error in micrortps_client which was causing issue to update baudrate and other options.
This commit is contained in:
committed by
Beat Küng
parent
1a9e2ac789
commit
b1a16840c7
@@ -94,13 +94,13 @@ static int parse_options(int argc, char *argv[])
|
||||
|
||||
case 'w': _options.sleep_ms = strtol(myoptarg, nullptr, 10); break;
|
||||
|
||||
case 'b': _options.baudrate = strtoul(optarg, nullptr, 10); break;
|
||||
case 'b': _options.baudrate = strtoul(myoptarg, nullptr, 10); break;
|
||||
|
||||
case 'p': _options.poll_ms = strtol(optarg, nullptr, 10); break;
|
||||
case 'p': _options.poll_ms = strtol(myoptarg, nullptr, 10); break;
|
||||
|
||||
case 'r': _options.recv_port = strtoul(optarg, nullptr, 10); break;
|
||||
case 'r': _options.recv_port = strtoul(myoptarg, nullptr, 10); break;
|
||||
|
||||
case 's': _options.send_port = strtoul(optarg, nullptr, 10); break;
|
||||
case 's': _options.send_port = strtoul(myoptarg, nullptr, 10); break;
|
||||
|
||||
default:
|
||||
usage(argv[1]);
|
||||
|
||||
Reference in New Issue
Block a user