Restricted the previous commit to __PX4_QURT only

This commit is contained in:
bharathr 2016-05-19 01:15:31 -07:00 committed by Lorenz Meier
parent 64c3b330ee
commit 723b501186

View File

@ -1157,7 +1157,9 @@ int commander_thread_main(int argc, char *argv[])
#endif
if (argc > 2) {
#ifdef __PX4_QURT
if (!strcmp(argv[2],"-hil")) {
#endif
startup_in_hil = true;
} else {
PX4_ERR("Argument %s not supported.", argv[3]);