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

This commit is contained in:
bugobliterator 2021-07-30 15:42:00 +05:30 committed by Andrew Tridgell
parent 114d7b22f4
commit 90437cb894
3 changed files with 3 additions and 3 deletions

View File

@ -624,7 +624,7 @@ void AP_Baro::init(void)
break;
}
#elif CONFIG_HAL_BOARD == HAL_BOARD_SITL
SITL::SITL *sitl = AP::sitl();
SITL::SIM *sitl = AP::sitl();
if (sitl == nullptr) {
AP_HAL::panic("No SITL pointer");
}

View File

@ -18,7 +18,7 @@ protected:
private:
uint8_t _instance;
SITL::SITL *_sitl;
SITL::SIM *_sitl;
// barometer delay buffer variables
struct readings_baro {

View File

@ -38,7 +38,7 @@ static AP_BoardConfig board_config;
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
#include <SITL/SITL.h>
SITL::SITL sitl;
SITL::SIM sitl;
#endif
void setup();