mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-26 12:47:18 +02:00
clean up mqtt stuff
fix workflow
This commit is contained in:
parent
65762a6e17
commit
24de3ac39b
8 changed files with 140 additions and 138 deletions
|
@ -10,6 +10,8 @@
|
|||
|
||||
#include "web.h"
|
||||
|
||||
#include "../utils/ahoyTimer.h"
|
||||
|
||||
#include "html/h/index_html.h"
|
||||
#include "html/h/login_html.h"
|
||||
#include "html/h/style_css.h"
|
||||
|
@ -93,7 +95,7 @@ void web::setup(void) {
|
|||
void web::loop(void) {
|
||||
mApi->loop();
|
||||
|
||||
if(mMain->checkTicker(&mWebSerialTicker, mWebSerialInterval)) {
|
||||
if(ah::checkTicker(&mWebSerialTicker, mWebSerialInterval)) {
|
||||
if(mSerialBufFill > 0) {
|
||||
mEvts->send(mSerialBuf, "serial", millis());
|
||||
memset(mSerialBuf, 0, WEB_SERIAL_BUF_SIZE);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue