mirror of https://github.com/ArduPilot/ardupilot
AP_Baro: add override keyword
This commit is contained in:
parent
1056321457
commit
ee07789383
|
@ -16,7 +16,7 @@ public:
|
|||
AP_Baro_BMP085(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
|
||||
|
||||
/* AP_Baro public interface: */
|
||||
void update();
|
||||
void update() override;
|
||||
|
||||
static AP_Baro_Backend *probe(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ public:
|
|||
AP_Baro_BMP280(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
|
||||
|
||||
/* AP_Baro public interface: */
|
||||
void update();
|
||||
void update() override;
|
||||
|
||||
static AP_Baro_Backend *probe(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ public:
|
|||
AP_Baro_DPS280(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
|
||||
|
||||
/* AP_Baro public interface: */
|
||||
void update();
|
||||
void update() override;
|
||||
|
||||
static AP_Baro_Backend *probe(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ public:
|
|||
AP_Baro_FBM320(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
|
||||
|
||||
/* AP_Baro public interface: */
|
||||
void update();
|
||||
void update() override;
|
||||
|
||||
static AP_Baro_Backend *probe(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ class AP_Baro_HIL : public AP_Baro_Backend
|
|||
{
|
||||
public:
|
||||
AP_Baro_HIL(AP_Baro &baro);
|
||||
void update(void);
|
||||
void update(void) override;
|
||||
|
||||
private:
|
||||
uint8_t _instance;
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
class AP_Baro_ICM20789 : public AP_Baro_Backend
|
||||
{
|
||||
public:
|
||||
void update();
|
||||
void update() override;
|
||||
|
||||
static AP_Baro_Backend *probe(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::I2CDevice> dev, AP_HAL::OwnPtr<AP_HAL::Device> dev_imu);
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
class AP_Baro_KellerLD : public AP_Baro_Backend
|
||||
{
|
||||
public:
|
||||
void update();
|
||||
void update() override;
|
||||
|
||||
static AP_Baro_Backend *probe(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
|
||||
|
||||
|
|
|
@ -24,7 +24,7 @@ public:
|
|||
AP_Baro_LPS2XH(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
|
||||
|
||||
/* AP_Baro public interface: */
|
||||
void update();
|
||||
void update() override;
|
||||
|
||||
static AP_Baro_Backend *probe(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev);
|
||||
static AP_Baro_Backend *probe_InvensenseIMU(AP_Baro &baro, AP_HAL::OwnPtr<AP_HAL::Device> dev, uint8_t imu_address);
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
class AP_Baro_MS56XX : public AP_Baro_Backend
|
||||
{
|
||||
public:
|
||||
void update();
|
||||
void update() override;
|
||||
|
||||
enum MS56XX_TYPE {
|
||||
BARO_MS5611 = 0,
|
||||
|
|
Loading…
Reference in New Issue