teste de publish

Dependencies:   LinkedList

Fork of DS1820 by Erik -

Revision:
14:01fb493e5d2f
Parent:
12:196e9e54b033
--- a/DS1820.cpp	Thu Feb 26 22:20:24 2015 +0000
+++ b/DS1820.cpp	Thu Jun 07 16:19:27 2018 +0000
@@ -286,18 +286,18 @@
     if (_parasite_power) {
         if (_power_mosfet) {
             _parasitepin = _power_polarity;     // Parasite power strong pullup
-            wait_ms(delay_time);
+            osDelay(delay_time);
             _parasitepin = !_power_polarity;
             delay_time = 0;
         } else {
             _datapin.output();
             _datapin.write(1);
-            wait_ms(delay_time);
+            osDelay(delay_time);
             _datapin.input();
         }
     } else {
         if (wait) {
-            wait_ms(delay_time);
+            osDelay(delay_time);
             delay_time = 0;
         }
     }