mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 21:30:35 +08:00
Partial fix for Snapdragon HITL mode
This commit is contained in:
@@ -1157,7 +1157,7 @@ int commander_thread_main(int argc, char *argv[])
|
||||
#endif
|
||||
|
||||
if (argc > 2) {
|
||||
if (!strcmp(argv[3],"-hil")) {
|
||||
if (!strcmp(argv[2],"-hil")) {
|
||||
startup_in_hil = true;
|
||||
} else {
|
||||
PX4_ERR("Argument %s not supported.", argv[3]);
|
||||
|
||||
Reference in New Issue
Block a user