Correct bmp180 setup return value when disabled
This commit is contained in:
parent
0c3ced5a7f
commit
ae77a7a8ee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user