HAL_SITL: fixed AP_Periph sitl build

This commit is contained in:
Andrew Tridgell 2020-11-09 13:04:44 +11:00
parent 1a1ca7cca7
commit db86b95761
1 changed files with 2 additions and 1 deletions

View File

@ -147,6 +147,7 @@ void HALSITL::Util::set_cmdline_parameters()
AP_Param::set_default_by_name(param.name, param.value); AP_Param::set_default_by_name(param.name, param.value);
} }
} }
#endif
/** /**
return commandline arguments, if available return commandline arguments, if available
@ -156,4 +157,4 @@ void HALSITL::Util::commandline_arguments(uint8_t &argc, char * const *&argv)
argc = saved_argc; argc = saved_argc;
argv = saved_argv; argv = saved_argv;
} }
#endif