Skip to content

Commit 382f84a

Browse files
authored
Code cosmetics
1 parent cc4c7ba commit 382f84a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DHT.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ bool DHT::read(bool force) {
305305
cycles[i] = expectPulse(LOW);
306306
cycles[i + 1] = expectPulse(HIGH);
307307

308-
if (cycles[i]==TIMEOUT || cycles[i+1]==TIMEOUT){
308+
if (cycles[i] == TIMEOUT || cycles[i + 1] == TIMEOUT) {
309309
DEBUG_PRINTLN(F("DHT timeout waiting for data signal."));
310310
_lastresult = false;
311311
return _lastresult;

0 commit comments

Comments
 (0)