mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 00:03:34 +08:00
Restricted the previous commit to __PX4_QURT only
This commit is contained in:
@@ -1157,7 +1157,9 @@ int commander_thread_main(int argc, char *argv[])
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (argc > 2) {
|
if (argc > 2) {
|
||||||
|
#ifdef __PX4_QURT
|
||||||
if (!strcmp(argv[2],"-hil")) {
|
if (!strcmp(argv[2],"-hil")) {
|
||||||
|
#endif
|
||||||
startup_in_hil = true;
|
startup_in_hil = true;
|
||||||
} else {
|
} else {
|
||||||
PX4_ERR("Argument %s not supported.", argv[3]);
|
PX4_ERR("Argument %s not supported.", argv[3]);
|
||||||
|
|||||||
Reference in New Issue
Block a user