Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relabel PING to MQTT PING
Browse files Browse the repository at this point in the history
tyeth committed Jun 14, 2024
1 parent a6f50ce commit d2cb47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Wippersnapper.cpp
Original file line number Diff line number Diff line change
@@ -2527,7 +2527,7 @@ void Wippersnapper::pingBroker() {
// ping within keepalive-10% to keep connection open
if (millis() > (_prv_ping + (WS_KEEPALIVE_INTERVAL_MS -
(WS_KEEPALIVE_INTERVAL_MS * 0.10)))) {
WS_DEBUG_PRINT("PING!");
WS_DEBUG_PRINT("MQTT PING: ");
// TODO: Add back, is crashing currently
if (WS._mqtt->ping()) {
WS_DEBUG_PRINTLN("SUCCESS!");

0 comments on commit d2cb47d

Please sign in to comment.