mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_Baro: change class name from SITL::SITL to SITL::SIM
This commit is contained in:
parent
114d7b22f4
commit
90437cb894
@ -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");
|
||||
}
|
||||
|
@ -18,7 +18,7 @@ protected:
|
||||
|
||||
private:
|
||||
uint8_t _instance;
|
||||
SITL::SITL *_sitl;
|
||||
SITL::SIM *_sitl;
|
||||
|
||||
// barometer delay buffer variables
|
||||
struct readings_baro {
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user