Skip to content

Commit

Permalink
fix ESP32 compile
Browse files Browse the repository at this point in the history
  • Loading branch information
lumapu committed Jan 22, 2023
1 parent 9cedb41 commit 2610f1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/publisher/pubMqtt.h
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,9 @@ class PubMqtt {
break;
if(!mClient.connected())
break;

#if defined(ESP8266)
mClient.loop();
#endif
yield();
} while(1);

Expand Down

0 comments on commit 2610f1a

Please sign in to comment.