AP_HAL_SITL: stop passing home_str to _sitl_setup
This is poked into the model now
This commit is contained in:
parent
2f77fef10e
commit
fbe46f400f
@ -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();
|
||||
|
@ -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);
|
||||
|
@ -610,7 +610,7 @@ void SITL_State::_parse_command_line(int argc, char * const argv[])
|
||||
_vehicle = ArduPlane;
|
||||
}
|
||||
|
||||
_sitl_setup(home_str);
|
||||
_sitl_setup();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user