mirror of
https://github.com/eclipse/upm.git
synced 2025-07-05 11:21:12 +03:00
spelling: correct many misspellings of celsius
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@ -95,7 +95,7 @@ SI7005::getTemperatureRaw () {
|
||||
}
|
||||
|
||||
int
|
||||
SI7005::getTemperatureCelcius () {
|
||||
SI7005::getTemperatureCelsius () {
|
||||
uint16_t rawTemperature = getTemperatureRaw();
|
||||
rawTemperature = ((rawTemperature >> 2) & 0xFFFF);
|
||||
last_temperature = ((float)rawTemperature) / SI7005_TEMPERATURE_SLOPE - SI7005_TEMPERATURE_OFFSET;
|
||||
|
@ -82,7 +82,7 @@ class SI7005 : public ITemperatureSensor, public IHumiditySensor {
|
||||
/**
|
||||
* Get temperature measurement.
|
||||
*/
|
||||
int getTemperatureCelcius ();
|
||||
int getTemperatureCelsius ();
|
||||
|
||||
/**
|
||||
* Get relative humidity measurement.
|
||||
|
Reference in New Issue
Block a user