feat: added get initialization status

This commit is contained in:
2025-05-06 09:07:52 +03:00
parent cedea19f1a
commit 17deb9f895
3 changed files with 13 additions and 1 deletions

View File

@ -516,4 +516,9 @@ void zh_espnow_reset_stats(void)
_stats.sent_fail = 0;
_stats.received = 0;
ZH_ESPNOW_LOGI("ESP-NOW statistic reset successfully.");
}
bool zh_espnow_is_initialized(void)
{
return _is_initialized;
}