GCS_MAVLink: change class name from SITL::SITL to SITL::SIM

This commit is contained in:
bugobliterator 2021-07-30 15:46:48 +05:30 committed by Andrew Tridgell
parent 88a72cca0b
commit 0d34a78701
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }