AP_HAL_SITL: stop passing home_str to _sitl_setup

This is poked into the model now
This commit is contained in:
Peter Barker 2021-12-11 20:49:33 +11:00 committed by Peter Barker
parent 2f77fef10e
commit fbe46f400f
3 changed files with 3 additions and 3 deletions

View File

@ -59,7 +59,7 @@ void SITL_State::_set_param_default(const char *parm)
/*
setup for SITL handling
*/
void SITL_State::_sitl_setup(const char *home_str)
void SITL_State::_sitl_setup()
{
#if !defined(__CYGWIN__) && !defined(__CYGWIN64__)
_parent_pid = getppid();

View File

@ -133,7 +133,7 @@ private:
void _parse_command_line(int argc, char * const argv[]);
void _set_param_default(const char *parm);
void _usage(void);
void _sitl_setup(const char *home_str);
void _sitl_setup();
void _setup_fdm(void);
void _setup_timer(void);
void _setup_adc(void);

View File

@ -610,7 +610,7 @@ void SITL_State::_parse_command_line(int argc, char * const argv[])
_vehicle = ArduPlane;
}
_sitl_setup(home_str);
_sitl_setup();
}
/*