mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 09:51:14 +03:00
spelling: correct many misspellings of celsius
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@ -29,7 +29,7 @@
|
||||
using namespace upm;
|
||||
using namespace std;
|
||||
|
||||
// conversion from celcius to fahrenheit
|
||||
// conversion from celsius to fahrenheit
|
||||
|
||||
static float c2f(float c)
|
||||
{
|
||||
|
@ -125,9 +125,9 @@ namespace upm {
|
||||
* constructor) then this function will always return 0C/32F.
|
||||
*
|
||||
* @param fahrenheit true to return the temperature in degrees
|
||||
* fahrenheit, false to return the temperature in degrees celcius.
|
||||
* The default is false (degrees Celcius).
|
||||
* @return The last temperature reading in Celcius or Fahrenheit
|
||||
* fahrenheit, false to return the temperature in degrees celsius.
|
||||
* The default is false (degrees Celsius).
|
||||
* @return The last temperature reading in Celsius or Fahrenheit
|
||||
*/
|
||||
float getTemperature(bool fahrenheit=false);
|
||||
|
||||
@ -154,7 +154,7 @@ namespace upm {
|
||||
// does this sensor support temperature reporting?
|
||||
bool m_hasTemp;
|
||||
|
||||
// in Celcius
|
||||
// in Celsius
|
||||
float m_temperature;
|
||||
|
||||
float m_humidity;
|
||||
|
Reference in New Issue
Block a user