Library for MAX30101, read/write functions for registers implemented.

Dependents:   test_MAX30101 testSensor

Revision:
5:7e7ad1807454
Parent:
4:c6761ad52524
Child:
6:8fbe6e6eeff1
--- a/MAX30101.cpp	Mon Mar 27 07:10:39 2017 +0000
+++ b/MAX30101.cpp	Mon Mar 27 07:21:49 2017 +0000
@@ -305,7 +305,6 @@
 {
     float temp ;
     int temp_int, temp_frac ;
-    setTEMP_EN() ;
     while(getTEMP_EN() == 0x01) { } 
     temp_int = getTEMP_INT() ;
     temp_frac = getTEMP_FRAC() ;