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:
Nicolas Oliver
2017-07-26 08:38:25 -07:00
committed by Mihai Tudor Panu
parent 24b6cbcc85
commit 7bee29ba62
6 changed files with 10 additions and 9 deletions

View File

@ -222,7 +222,7 @@ upm_result_t max30100_get_temperature(const max30100_context* dev, float* temper
/* This register stores the fractional temperature data in increments of
* 0.0625C (1/16th of a degree C). If this fractional temperature is
* paired with a negative integer, it still adds as a positive fractional
* value (e.g., -128°C + 0.5°C = -127.5°C). */
* value (e.g., -128 C + 0.5 C = -127.5 C). */
result = max30100_read(dev, MAX30100_REG_TEMP_FRACTION, (uint8_t*)&tmp_val);
if (result != UPM_SUCCESS) return result;