API for temperature sensor in nrf51822

Dependents:   BLE_TemperatureAdvertising BLE_TemperatureObserver TEMP_YM2

Files at this revision

API Documentation at this revision

Comitter:
sunsmile2015
Date:
Mon Jul 20 07:56:01 2015 +0000
Parent:
1:27efbf620fc5
Commit message:
add space

Changed in this revision

TMP_nrf51.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/TMP_nrf51.cpp	Fri Jul 17 08:46:10 2015 +0000
+++ b/TMP_nrf51.cpp	Mon Jul 20 07:56:01 2015 +0000
@@ -30,5 +30,5 @@
     
     sd_temp_get(&p_temp);
    
-  return (TMP_nrf51::tmpSensorValue_t) ((float)p_temp * 0.25); /* 0.25 is temperature sensor resolution */
+    return (TMP_nrf51::tmpSensorValue_t) ((float)p_temp * 0.25); /* 0.25 is temperature sensor resolution */
 }
\ No newline at end of file