KL25Z internal RTC doesn't work. Original DHT library throws "no patience error"

Dependents:   meteo_station

Fork of DHT by Wim De Roeve

Revision:
1:7c1bd037ff67
Parent:
0:9b5b3200688f
Child:
2:16df1fb443d0
--- a/DHT.cpp	Mon Jul 09 19:47:43 2012 +0000
+++ b/DHT.cpp	Sat Apr 29 15:10:23 2017 +0000
@@ -56,15 +56,16 @@
         bitTimes[i] = 0;
     }
 
+    /* RTC NO FUNCIONA
     if (!_firsttime) {
         if (int(currentTime - _lastReadTime) < 2) {
             err = ERROR_NO_PATIENCE;
             return err;
         }
     } else {
-        _firsttime=false;
+    */    _firsttime=false;
         _lastReadTime=currentTime;
-    }
+    //}
     retryCount = 0;
 
     do {