Version 2.0.1
Fixed the error of not sending a configuration message after rebooting the gateway.
This commit is contained in:
parent
5045741079
commit
646f32a58d
@ -479,7 +479,7 @@ void zh_espnow_event_handler(void *arg, esp_event_base_t event_base, int32_t eve
|
||||
break;
|
||||
case ZH_ESPNOW_ON_SEND_EVENT:;
|
||||
zh_espnow_event_on_send_t *send_data = event_data;
|
||||
if (send_data->status == ZH_ESPNOW_SEND_FAIL && switch_config->gateway_is_available == true)
|
||||
if (send_data->status == ZH_ESPNOW_SEND_FAIL)
|
||||
{
|
||||
switch_config->gateway_is_available = false;
|
||||
vTaskSuspend(switch_config->switch_attributes_message_task);
|
||||
|
@ -1 +1 @@
|
||||
2.0.0
|
||||
2.0.1
|
Loading…
x
Reference in New Issue
Block a user