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;
|
break;
|
||||||
}
|
}
|
||||||
#elif CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#elif CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
SITL::SITL *sitl = AP::sitl();
|
SITL::SIM *sitl = AP::sitl();
|
||||||
if (sitl == nullptr) {
|
if (sitl == nullptr) {
|
||||||
AP_HAL::panic("No SITL pointer");
|
AP_HAL::panic("No SITL pointer");
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ protected:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
uint8_t _instance;
|
uint8_t _instance;
|
||||||
SITL::SITL *_sitl;
|
SITL::SIM *_sitl;
|
||||||
|
|
||||||
// barometer delay buffer variables
|
// barometer delay buffer variables
|
||||||
struct readings_baro {
|
struct readings_baro {
|
||||||
|
@ -38,7 +38,7 @@ static AP_BoardConfig board_config;
|
|||||||
|
|
||||||
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
#if CONFIG_HAL_BOARD == HAL_BOARD_SITL
|
||||||
#include <SITL/SITL.h>
|
#include <SITL/SITL.h>
|
||||||
SITL::SITL sitl;
|
SITL::SIM sitl;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void setup();
|
void setup();
|
||||||
|
Loading…
Reference in New Issue
Block a user