From 95ac96f61cf5f22267166217886ac2519f39f223 Mon Sep 17 00:00:00 2001 From: Alexey Zholtikov Date: Sun, 4 Oct 2026 22:16:23 +0300 Subject: [PATCH] style: updated tag --- zh_ota_server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zh_ota_server.c b/zh_ota_server.c index 2a8489d..a479e46 100644 --- a/zh_ota_server.c +++ b/zh_ota_server.c @@ -1,5 +1,7 @@ #include "zh_ota_server.h" +static const char *TAG = "zh_ota_server"; + #define ZH_LOGI(msg, ...) ESP_LOGI(TAG, msg, ##__VA_ARGS__) #define ZH_LOGE(msg, err, ...) ESP_LOGE(TAG, "[%s:%d:%s] " msg, __FILE__, __LINE__, esp_err_to_name(err), ##__VA_ARGS__) @@ -20,8 +22,6 @@ #define MIN(a, b) (((a) < (b)) ? (a) : (b)) -static const char *TAG = "zh_ota_server"; - static char *_ota_path = NULL; static const char *_ota_ws_path = "/zh_ota_server";