Skip to content

Commit bf3cfa6

Browse files
Fix reference to INTERVAL
1 parent f8a5acc commit bf3cfa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/WebSocketClientSocketIO/WebSocketClientSocketIO.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void loop() {
9999

100100
uint64_t now = millis();
101101

102-
if(now - messageTimestamp > INTERVAL) {
102+
if(now - messageTimestamp > MESSAGE_INTERVAL) {
103103
messageTimestamp = now;
104104
// example socket.io message with type "messageType" and JSON payload
105105
webSocket.sendTXT("42[\"messageType\",{\"greeting\":\"hello\"}]");

0 commit comments

Comments
 (0)