Skip to content

Commit

Permalink
check twice a second for new vedirect data on live viw
Browse files Browse the repository at this point in the history
  • Loading branch information
helgeerbe committed Jan 26, 2024
1 parent 7094bca commit 1916d6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WebApi_ws_vedirect_live.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ void WebApiWsVedirectLiveClass::init(AsyncWebServer& server, Scheduler& schedule
scheduler.addTask(_sendDataTask);
_sendDataTask.setCallback(std::bind(&WebApiWsVedirectLiveClass::sendDataTaskCb, this));
_sendDataTask.setIterations(TASK_FOREVER);
_sendDataTask.setInterval(1 * TASK_SECOND);
_sendDataTask.setInterval(500 * TASK_MILLISECOND);
_sendDataTask.enable();
}

Expand Down

0 comments on commit 1916d6d

Please sign in to comment.