Maxim Integrated / Mbed OS MAX30205_Demo

Dependencies:   MAX30205 max32630fthr

Fork of MAX30205_Demo by John Greene

Files at this revision

API Documentation at this revision

Comitter:
johnGreeneMaxim
Date:
Tue Mar 06 03:03:42 2018 +0000
Parent:
6:96c0402be8c5
Commit message:
Added initialization of temp_cfg

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/main.cpp	Thu Dec 14 21:40:34 2017 +0000
+++ b/main.cpp	Tue Mar 06 03:03:42 2018 +0000
@@ -57,6 +57,7 @@
     temp_sensor_sampleTimer.start();    // Start the timer
     
     MAX30205::Configuration_u temp_cfg;
+    temp_cfg.all = 0;  
     uint16_t rawTemperatureRead, temp_conversion_flag;
     float temperature;