Skip to content

Commit 03159c4

Browse files
authored
Merge pull request #178 from niclabs/master
Making blockTillConversionComplete public
2 parents 4a0ccc1 + 5fa31c9 commit 03159c4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

DallasTemperature.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,8 @@ class DallasTemperature {
257257

258258
#endif
259259

260+
void blockTillConversionComplete(uint8_t);
261+
260262
private:
261263
typedef uint8_t ScratchPad[9];
262264

@@ -292,7 +294,6 @@ class DallasTemperature {
292294
// reads scratchpad and returns the raw temperature
293295
int16_t calculateTemperature(const uint8_t*, uint8_t*);
294296

295-
void blockTillConversionComplete(uint8_t);
296297

297298
// Returns true if all bytes of scratchPad are '\0'
298299
bool isAllZeros(const uint8_t* const scratchPad, const size_t length = 9);

0 commit comments

Comments
 (0)