Skip to content

Commit 53e6481

Browse files
Default argument for compatibility with old sketches
1 parent 14d8168 commit 53e6481

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DHT.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class DHT {
2929
public:
3030
DHT(uint8_t pin, uint8_t type);
3131
void begin(void);
32-
float readTemperature(bool);
32+
float readTemperature(bool S=false);
3333
float convertCtoF(float);
3434
float readHumidity(void);
3535

0 commit comments

Comments
 (0)