From 2a8eb8483659d41f683bd9216700f6b4a7deb76f Mon Sep 17 00:00:00 2001 From: biver Date: Wed, 30 Mar 2022 14:07:40 +0300 Subject: [PATCH] =?UTF-8?q?=D0=A3=D1=81=D1=82=D1=80=D0=B0=D0=BD=D1=8F?= =?UTF-8?q?=D0=B5=D0=BC=20=D0=BF=D0=B5=D1=80=D0=B5=D1=81=D0=B5=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20=D1=81=20=D1=81=D0=B8=D1=81=D1=82=D0=B5?= =?UTF-8?q?=D0=BC=D0=BD=D1=8B=D0=BC=20=D0=BA=D0=BB=D0=B0=D1=81=D1=81=D0=BE?= =?UTF-8?q?=D0=BC=20UDP?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/Const.h | 2 +- src/DeviceList.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/Const.h b/include/Const.h index e40a41fa..3ba22bdf 100644 --- a/include/Const.h +++ b/include/Const.h @@ -41,7 +41,7 @@ enum TimerTask_t { WIFI_SCAN, TIME, TIME_SYNC, UPTIME, - UDP, + UDPP, TIMES, PTASK }; diff --git a/src/DeviceList.cpp b/src/DeviceList.cpp index 2fd5c732..c22234e8 100644 --- a/src/DeviceList.cpp +++ b/src/DeviceList.cpp @@ -54,7 +54,7 @@ void asyncUdpInit() { //будем отправлять каждые 30 секунд презентацию данного устройства ts.add( - UDP, 60000, [&](void*) { + UDPP, 60000, [&](void*) { if (isNetworkActive()) { SerialPrint("i", F("UDP"), F("Broadcast device presentation")); asyncUdp.broadcastTo(getThisDevice().c_str(), 4210);