spelling: correct many misspellings of celsius

Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
Jon Trulson
2016-07-12 16:50:39 -06:00
parent 0fb56356fb
commit baec9966f0
49 changed files with 144 additions and 141 deletions

View File

@ -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)
{

View File

@ -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));
};