complete t_fine_adjust getter
This commit is contained in:
parent
626dc5b0bd
commit
643b75ffa3
1 changed files with 1 additions and 1 deletions
|
|
@ -545,7 +545,7 @@ uint32_t Adafruit_BME280::sensorID(void) { return _sensorID; }
|
|||
* @returns the current temperature compensation value in degrees Celcius
|
||||
*/
|
||||
float Adafruit_BME280::getTemperatureAdjustment(void) {
|
||||
return 0.0;
|
||||
return float(((t_fine_adjust*5)>>8)/100);
|
||||
};
|
||||
|
||||
/*!
|
||||
|
|
|
|||
Loading…
Reference in a new issue