Fix reference to INTERVAL

This commit is contained in:
Kenta Kusumoto committed 2016-06-06 17:50:31 +03:00
1 parent f8a5acc9b7
commit bf3cfa6237
1 file changed
+1 -1
@@ -99,7 +99,7 @@ void loop() {
uint64_t now = millis();
if(now - messageTimestamp > INTERVAL) {
if(now - messageTimestamp > MESSAGE_INTERVAL) {
messageTimestamp = now;
// example socket.io message with type "messageType" and JSON payload
webSocket.sendTXT("42[\"messageType\",{\"greeting\":\"hello\"}]");