add dma delay time
This commit is contained in:
parent
10aa1a8c24
commit
5aff48e4b0
File diff suppressed because it is too large
Load Diff
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue