From 696452912464389bf852fddb7d716853785b4669 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 8 Feb 2014 17:47:45 +1100 Subject: [PATCH] AP_Baro: _calculate can be private --- libraries/AP_Baro/AP_Baro_MS5611.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Baro/AP_Baro_MS5611.h b/libraries/AP_Baro/AP_Baro_MS5611.h index 78762abc0f..7ba488e991 100644 --- a/libraries/AP_Baro/AP_Baro_MS5611.h +++ b/libraries/AP_Baro/AP_Baro_MS5611.h @@ -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: */