AP_Baro: _calculate can be private

This commit is contained in:
Andrew Tridgell 2014-02-08 17:47:45 +11:00
parent 566b0ccc61
commit 6964529124
1 changed files with 1 additions and 1 deletions

View File

@ -79,13 +79,13 @@ public:
float get_pressure(); // in mbar*100 units
float get_temperature(); // in celsius degrees
void _calculate();
/* Serial port drivers to pass to "init". */
static AP_Baro_MS5611_SPI spi;
static AP_Baro_MS5611_I2C i2c;
private:
void _calculate();
/* Asynchronous handler functions: */
void _update();
/* Asynchronous state: */