修复已知编译问题

This commit is contained in:
nhkefus
2025-03-18 13:27:03 +08:00
parent b5cb7b8218
commit 44ed1d2604
3 changed files with 8 additions and 7 deletions

View File

@@ -519,7 +519,7 @@ void UserMqttHassAuto(char socket_id) {
"\"name\":\"TC1_%s\","
"\"model\":\"TC1\","
"\"manufacturer\":\"PHICOMM\"}}",
user_config->socket_names[socket_id], str_mac, socket_id, str_mac, socket_id,
user_config->socket_names[(int)socket_id], str_mac, socket_id, str_mac, socket_id,
str_mac,
socket_id, str_mac, socket_id, str_mac, str_mac);
UserMqttSendTopic(topic_buf, send_buf, 1);