【类 型】:test

【原  因】:
【过  程】:
【影  响】:

# 类型 包含:
# feat:新功能(feature)
# fix:修补bug
# docs:文档(documentation)
# style: 格式(不影响代码运行的变动)
# refactor:重构(即不是新增功能,也不是修改bug的代码变动)
# test:增加测试
# chore:构建过程或辅助工具的变动
This commit is contained in:
air 2025-04-17 19:29:02 +08:00
parent 656c850abb
commit 65e7298a4c
3 changed files with 3 additions and 4 deletions

View File

@ -180,7 +180,7 @@ void FoodCube::connectMqtt(String topicSub)
log("MQTT Server Connect Failed. Client State:"); log("MQTT Server Connect Failed. Client State:");
logln(mqttClient->state()); logln(mqttClient->state());
_tm_mqttconnect = millis(); _tm_mqttconnect = millis();
playText("服务器断开尝试重新连接");
// delay(3000); // delay(3000);
} }
} }

View File

@ -20,7 +20,7 @@ static const char *MOUDLENAME = "COMMSER";
// char* password = "63587839ab"; //wifi密码 // char* password = "63587839ab"; //wifi密码
char *ssid = "flicube"; // wifi帐号 char *ssid = "flicube"; // wifi帐号
char *password = "fxmf0622"; // wifi密码 char *password = "fxmf0622"; // wifi密码
// char *ssid = "fxmf_sc01"; // 4g wifi帐号 //char *ssid = "fxmf_sc02"; // 4g wifi帐号
//char *password = "12345678"; // 4g wifi密码 //char *password = "12345678"; // 4g wifi密码
char *mqttServer = "szdot.top"; // mqtt地址 char *mqttServer = "szdot.top"; // mqtt地址
int mqttPort = 1883; // mqtt端口 int mqttPort = 1883; // mqtt端口

View File

@ -398,7 +398,6 @@ void set_locked(bool locked)
// 在核心1上执行重要的延迟低的 // 在核心1上执行重要的延迟低的
void loop() void loop()
{ {
fc.logln("loop");
// sercomm.getcommand(); // 得到控制命令 // sercomm.getcommand(); // 得到控制命令
button_checktop.tick(); // 按钮 button_checktop.tick(); // 按钮
button_down.tick(); // 按钮 button_down.tick(); // 按钮