mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 17:31:13 +03:00
spelling: correct many misspellings of celsius
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@ -40,7 +40,7 @@ using namespace std;
|
||||
|
||||
// #define BMP280_USE_TEST_DATA
|
||||
|
||||
// conversion from fahrenheit to celcius and back
|
||||
// conversion from fahrenheit to celsius and back
|
||||
|
||||
static float f2c(float f)
|
||||
{
|
||||
|
@ -304,8 +304,8 @@ namespace upm {
|
||||
* to calling this method.
|
||||
*
|
||||
* @param fahrenheit true to return data in Fahrenheit, false for
|
||||
* Celicus. Celcius is the default.
|
||||
* @return The temperature in degrees Celcius or Fahrenheit.
|
||||
* Celicus. Celsius is the default.
|
||||
* @return The temperature in degrees Celsius or Fahrenheit.
|
||||
*/
|
||||
float getTemperature(bool fahrenheit=false);
|
||||
|
||||
@ -393,7 +393,7 @@ namespace upm {
|
||||
return "BMP280";
|
||||
};
|
||||
|
||||
int getTemperatureCelcius()
|
||||
int getTemperatureCelsius()
|
||||
{
|
||||
return int(getTemperature(false));
|
||||
};
|
||||
|
Reference in New Issue
Block a user