From 0d34a78701fc922a4ae1db482ca1afcff476961d Mon Sep 17 00:00:00 2001 From: bugobliterator Date: Fri, 30 Jul 2021 15:46:48 +0530 Subject: [PATCH] GCS_MAVLink: change class name from SITL::SITL to SITL::SIM --- libraries/GCS_MAVLink/GCS_Common.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/GCS_MAVLink/GCS_Common.cpp b/libraries/GCS_MAVLink/GCS_Common.cpp index f102189fd7..292ec0e3b1 100644 --- a/libraries/GCS_MAVLink/GCS_Common.cpp +++ b/libraries/GCS_MAVLink/GCS_Common.cpp @@ -3648,7 +3648,7 @@ void GCS_MAVLINK::send_banner() void GCS_MAVLINK::send_simstate() const { #if CONFIG_HAL_BOARD == HAL_BOARD_SITL - SITL::SITL *sitl = AP::sitl(); + SITL::SIM *sitl = AP::sitl(); if (sitl == nullptr) { return; } @@ -3659,7 +3659,7 @@ void GCS_MAVLINK::send_simstate() const void GCS_MAVLINK::send_sim_state() const { #if CONFIG_HAL_BOARD == HAL_BOARD_SITL - SITL::SITL *sitl = AP::sitl(); + SITL::SIM *sitl = AP::sitl(); if (sitl == nullptr) { return; }