Browse Source

AP_Baro: removed HIL constructor

this wasn't calling the parent class
master
Andrew Tridgell 12 years ago
parent
commit
c6c1fce2f1
  1. 3
      libraries/AP_Baro/AP_Baro_HIL.cpp
  2. 2
      libraries/AP_Baro/AP_Baro_HIL.h

3
libraries/AP_Baro/AP_Baro_HIL.cpp

@ -5,9 +5,6 @@ @@ -5,9 +5,6 @@
#include <AP_HAL.h>
extern const AP_HAL::HAL& hal;
// Constructors ////////////////////////////////////////////////////////////////
AP_Baro_HIL::AP_Baro_HIL(){}
// Public Methods //////////////////////////////////////////////////////////////
bool AP_Baro_HIL::init()
{

2
libraries/AP_Baro/AP_Baro_HIL.h

@ -16,8 +16,6 @@ private: @@ -16,8 +16,6 @@ private:
uint8_t _count;
public:
AP_Baro_HIL(); // Constructor
bool init();
uint8_t read();
float get_pressure();

Loading…
Cancel
Save