forked from gary/BCU
2
0
Fork 0

add dma delay time

This commit is contained in:
Carl 2025-05-26 16:38:24 +08:00
parent 10aa1a8c24
commit 5aff48e4b0
2 changed files with 3664 additions and 3260 deletions

File diff suppressed because it is too large Load Diff

View File

@ -984,7 +984,7 @@ void protocol_build_json(uint16_t groupId, uint32_t time)
if (json_str) if (json_str)
{ {
drv_mqtt_publish_no_respose(json_str, strlen(json_str)); drv_mqtt_publish_no_respose(json_str, strlen(json_str));
// bsp_task_delay_ms(100); bsp_task_delay_ms(50);
cJSON_free(json_str); cJSON_free(json_str);
} }
@ -1042,7 +1042,7 @@ void protocol_build_volt_json(uint8_t i, uint32_t time)
if (json_str) if (json_str)
{ {
drv_mqtt_publish_no_respose(json_str, strlen(json_str)); drv_mqtt_publish_no_respose(json_str, strlen(json_str));
// bsp_task_delay_ms(100); bsp_task_delay_ms(50);
cJSON_free(json_str); cJSON_free(json_str);
} }
@ -1100,7 +1100,7 @@ void protocol_build_temp_json(uint8_t i, uint32_t time)
if (json_str) if (json_str)
{ {
drv_mqtt_publish_no_respose(json_str, strlen(json_str)); drv_mqtt_publish_no_respose(json_str, strlen(json_str));
// bsp_task_delay_ms(100); bsp_task_delay_ms(50);
cJSON_free(json_str); cJSON_free(json_str);
} }