mirror of
https://github.com/eclipse/upm.git
synced 2025-07-02 01:41:12 +03:00
spelling: correct many misspellings of celsius
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
@ -33,7 +33,7 @@ using namespace std;
|
||||
// several aio reads.
|
||||
static const int maxSamples = 50;
|
||||
|
||||
// conversion from celcius to fahrenheit
|
||||
// conversion from celsius to fahrenheit
|
||||
|
||||
static float c2f(float c)
|
||||
{
|
||||
|
@ -130,9 +130,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);
|
||||
|
||||
@ -174,7 +174,7 @@ namespace upm {
|
||||
bool m_hasTemp;
|
||||
bool m_hasHum;
|
||||
|
||||
// in Celcius
|
||||
// in Celsius
|
||||
float m_temperature;
|
||||
|
||||
float m_humidity;
|
||||
|
Reference in New Issue
Block a user