修复自定义名称过长可能导致系统崩溃的问题

This commit is contained in:
Your Name
2025-04-09 22:53:12 +08:00
parent e6d430c37c
commit 34e1cabc53
3 changed files with 5 additions and 4 deletions

View File

@@ -10,8 +10,8 @@
#define MQTT_CMD_TIMEOUT 5000 // 5s
#define MQTT_YIELD_TMIE 5000 // 5s
#define MAX_MQTT_TOPIC_SIZE (256)
#define MAX_MQTT_DATA_SIZE (1024)
#define MAX_MQTT_TOPIC_SIZE (512)
#define MAX_MQTT_DATA_SIZE (2048)
#define MAX_MQTT_SEND_QUEUE_SIZE (10)
#define MQTT_SERVER user_config->mqtt_ip