From c8c394b4e923d98d37b95e6007509b40b624a8a3 Mon Sep 17 00:00:00 2001 From: Will Miles Date: Mon, 19 Feb 2024 09:48:34 -0500 Subject: [PATCH] TZ_TABLE: Add missing const --- wled00/ntp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/ntp.cpp b/wled00/ntp.cpp index 0eb5122f8..494e7e3b1 100644 --- a/wled00/ntp.cpp +++ b/wled00/ntp.cpp @@ -55,7 +55,7 @@ Timezone* tz; byte tzCurrent = TZ_INIT; //uninitialized /* C++11 form -- static std::array, TZ_COUNT> TZ_TABLE PROGMEM = {{ */ -static std::pair TZ_TABLE[] PROGMEM = { +static const std::pair TZ_TABLE[] PROGMEM = { /* TZ_UTC */ { {Last, Sun, Mar, 1, 0}, // UTC {Last, Sun, Mar, 1, 0} // Same