diff --git a/WifiControlSensor/BMP180.h b/WifiControlSensor/BMP180.h index 1222735..42ee435 100644 --- a/WifiControlSensor/BMP180.h +++ b/WifiControlSensor/BMP180.h @@ -13,6 +13,6 @@ bool BMP180IsConnected(); #else //CONFIG_ENABLE_BMP80 int BMP180GetTemperature(double &t){return -1;}; int BMP180GetTempAndPressure(double &t, double &p){return -1;}; -int BMP180Setup(int , int ){SKETCH_DEBUG_PRINTLN("BMP180 is disabled at build time"); return 0;}; +int BMP180Setup(int , int ){SKETCH_DEBUG_PRINTLN("BMP180 is disabled at build time"); return -1;}; bool BMP180IsConnected(){return false;}; #endif