From e47e596075282b122ac5d266ec6ad5c60ca8c978 Mon Sep 17 00:00:00 2001 From: Robo Print Date: Sat, 27 Jun 2015 23:00:37 +0200 Subject: [PATCH] Make DallasTemperature::millisToWaitForConversion() publicly available --- libraries/DallasTemperature/DallasTemperature.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libraries/DallasTemperature/DallasTemperature.h b/libraries/DallasTemperature/DallasTemperature.h index 93d9713..189fc6b 100644 --- a/libraries/DallasTemperature/DallasTemperature.h +++ b/libraries/DallasTemperature/DallasTemperature.h @@ -116,7 +116,10 @@ class DallasTemperature // sends command for all devices on the bus to perform a temperature conversion void requestTemperatures(void); - + + // returns time to wait for a temperature conversion based on given resolution + int16_t millisToWaitForConversion(uint8_t); + // sends command for one device to perform a temperature conversion by address bool requestTemperaturesByAddress(const uint8_t*); @@ -233,8 +236,6 @@ class DallasTemperature // reads scratchpad and returns the raw temperature int16_t calculateTemperature(const uint8_t*, uint8_t*); - int16_t millisToWaitForConversion(uint8_t); - void blockTillConversionComplete(uint8_t, const uint8_t*); #if REQUIRESALARMS