Partial fix for Snapdragon HITL mode

This commit is contained in:
jwilson
2016-05-23 17:58:59 +02:00
committed by Lorenz Meier
parent ea138cfd38
commit 64c3b330ee
3 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -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]);