From 65e7298a4c9c06c50aedde7affd9e661dee20e4f Mon Sep 17 00:00:00 2001 From: air <30444667+sszdot@users.noreply.github.com> Date: Thu, 17 Apr 2025 19:29:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=B1=BB=20=20=E5=9E=8B=E3=80=91?= =?UTF-8?q?=EF=BC=9Atest=20=E3=80=90=E5=8E=9F=20=20=E5=9B=A0=E3=80=91?= =?UTF-8?q?=EF=BC=9A=20=E3=80=90=E8=BF=87=20=20=E7=A8=8B=E3=80=91=EF=BC=9A?= =?UTF-8?q?=20=E3=80=90=E5=BD=B1=20=20=E5=93=8D=E3=80=91=EF=BC=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # 类型 包含: # feat:新功能(feature) # fix:修补bug # docs:文档(documentation) # style: 格式(不影响代码运行的变动) # refactor:重构(即不是新增功能,也不是修改bug的代码变动) # test:增加测试 # chore:构建过程或辅助工具的变动 --- src/FoodDeliveryBase.cpp | 2 +- src/commser.cpp | 4 ++-- src/main.cpp | 1 - 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/FoodDeliveryBase.cpp b/src/FoodDeliveryBase.cpp index 92c37db..0aacafe 100644 --- a/src/FoodDeliveryBase.cpp +++ b/src/FoodDeliveryBase.cpp @@ -180,7 +180,7 @@ void FoodCube::connectMqtt(String topicSub) log("MQTT Server Connect Failed. Client State:"); logln(mqttClient->state()); _tm_mqttconnect = millis(); - + playText("服务器断开尝试重新连接"); // delay(3000); } } diff --git a/src/commser.cpp b/src/commser.cpp index f576d90..49a326e 100644 --- a/src/commser.cpp +++ b/src/commser.cpp @@ -20,8 +20,8 @@ static const char *MOUDLENAME = "COMMSER"; // char* password = "63587839ab"; //wifi密码 char *ssid = "flicube"; // wifi帐号 char *password = "fxmf0622"; // wifi密码 -// char *ssid = "fxmf_sc01"; // 4g wifi帐号 -// char *password = "12345678"; // 4g wifi密码 +//char *ssid = "fxmf_sc02"; // 4g wifi帐号 +//char *password = "12345678"; // 4g wifi密码 char *mqttServer = "szdot.top"; // mqtt地址 int mqttPort = 1883; // mqtt端口 char *mqttName = "admin"; // mqtt帐号 diff --git a/src/main.cpp b/src/main.cpp index 862ca92..3dc6712 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -398,7 +398,6 @@ void set_locked(bool locked) // 在核心1上执行,重要的延迟低的 void loop() { - fc.logln("loop"); // sercomm.getcommand(); // 得到控制命令 button_checktop.tick(); // 按钮 button_down.tick(); // 按钮