mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Baro: removed HIL constructor
this wasn't calling the parent class
This commit is contained in:
parent
66150a41fe
commit
c6c1fce2f1
@ -5,9 +5,6 @@
|
|||||||
#include <AP_HAL.h>
|
#include <AP_HAL.h>
|
||||||
extern const AP_HAL::HAL& hal;
|
extern const AP_HAL::HAL& hal;
|
||||||
|
|
||||||
// Constructors ////////////////////////////////////////////////////////////////
|
|
||||||
AP_Baro_HIL::AP_Baro_HIL(){}
|
|
||||||
|
|
||||||
// Public Methods //////////////////////////////////////////////////////////////
|
// Public Methods //////////////////////////////////////////////////////////////
|
||||||
bool AP_Baro_HIL::init()
|
bool AP_Baro_HIL::init()
|
||||||
{
|
{
|
||||||
|
@ -16,8 +16,6 @@ private:
|
|||||||
uint8_t _count;
|
uint8_t _count;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
AP_Baro_HIL(); // Constructor
|
|
||||||
|
|
||||||
bool init();
|
bool init();
|
||||||
uint8_t read();
|
uint8_t read();
|
||||||
float get_pressure();
|
float get_pressure();
|
||||||
|
Loading…
Reference in New Issue
Block a user