mirror of https://github.com/ArduPilot/ardupilot
GCS_MAVLink: change class name from SITL::SITL to SITL::SIM
This commit is contained in:
parent
88a72cca0b
commit
0d34a78701
|
@ -3648,7 +3648,7 @@ void GCS_MAVLINK::send_banner()
|
||||||
void GCS_MAVLINK::send_simstate() const
|
void GCS_MAVLINK::send_simstate() const
|
||||||
{
|
{
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
SITL::SITL *sitl = AP::sitl();
|
SITL::SIM *sitl = AP::sitl();
|
||||||
if (sitl == nullptr) {
|
if (sitl == nullptr) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@ -3659,7 +3659,7 @@ void GCS_MAVLINK::send_simstate() const
|
||||||
void GCS_MAVLINK::send_sim_state() const
|
void GCS_MAVLINK::send_sim_state() const
|
||||||
{
|
{
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
SITL::SITL *sitl = AP::sitl();
|
SITL::SIM *sitl = AP::sitl();
|
||||||
if (sitl == nullptr) {
|
if (sitl == nullptr) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue