Version 2.0.1

Fixed the error of not sending a configuration message after rebooting the gateway.
This commit is contained in:
Alexey Zholtikov 2025-02-11 19:12:30 +03:00
parent 5045741079
commit 646f32a58d
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -1 +1 @@
2.0.0
2.0.1