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:
@ -31,7 +31,7 @@
|
||||
using namespace upm;
|
||||
using namespace std;
|
||||
|
||||
// conversion from celcius to fahrenheit
|
||||
// conversion from celsius to fahrenheit
|
||||
static float c2f(float c)
|
||||
{
|
||||
return (c * (9.0 / 5.0) + 32.0);
|
||||
|
@ -153,9 +153,9 @@ namespace upm {
|
||||
*
|
||||
* @param index The device index to access (starts at 0).
|
||||
* @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(int index, bool fahrenheit=false);
|
||||
|
||||
|
Reference in New Issue
Block a user