mirror of
https://github.com/eclipse/upm.git
synced 2025-07-01 09:21:12 +03:00
sonar: fix sonar scan
remove utf8 characters from: * examples/c++/mcp9808.cxx * examples/c++/tmp006.cxx * src/bmp280/bmp280.c * src/max30100/max30100.c add -j8 options to make command in scripts/sonar-scan.sh Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com>
This commit is contained in:

committed by
Mihai Tudor Panu

parent
24b6cbcc85
commit
7bee29ba62
@ -42,7 +42,7 @@ int main()
|
||||
{
|
||||
float t;
|
||||
case 1:
|
||||
std::cout << "Temp: " << temp->getTemp() << "° " << (temp->isCelsius()? "Celsius" : "Fahrenheit")<< std::endl;
|
||||
std::cout << "Temp: " << temp->getTemp() << "* " << (temp->isCelsius()? "Celsius" : "Fahrenheit")<< std::endl;
|
||||
break;
|
||||
case 2:
|
||||
cout << "shutdown sensor (sleep mode)" << endl;
|
||||
|
@ -58,8 +58,8 @@ int main(int argc, char **argv)
|
||||
// update and print available values every second
|
||||
while (run)
|
||||
{
|
||||
// Print out temperature value in °C
|
||||
std::cout << "Temperature: " << mySensor->getTemperature(true) << " °C"
|
||||
// Print out temperature value in *C
|
||||
std::cout << "Temperature: " << mySensor->getTemperature(true) << " *C"
|
||||
<< std::endl;
|
||||
|
||||
sleep(1);
|
||||
|
Reference in New Issue
Block a user