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:
@ -32,7 +32,7 @@ using namespace std;
|
||||
// we average over several aio reads.
|
||||
static const int maxSamples = 10;
|
||||
|
||||
// conversion from celcius to fahrenheit
|
||||
// conversion from celsius to fahrenheit
|
||||
|
||||
static float c2f(float c)
|
||||
{
|
||||
|
@ -122,9 +122,9 @@ namespace upm {
|
||||
* prior to calling this method.
|
||||
*
|
||||
* @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);
|
||||
|
||||
@ -169,7 +169,7 @@ namespace upm {
|
||||
float m_aref;
|
||||
int m_aResTemp;
|
||||
|
||||
// in Celcius
|
||||
// in Celsius
|
||||
float m_temperature;
|
||||
// temp reading out of range
|
||||
bool m_outOfRange;
|
||||
|
Reference in New Issue
Block a user