kopia lustrzana https://github.com/Aircoookie/WLED
TZ_TABLE: Add missing const
rodzic
59886a1528
commit
c8c394b4e9
|
@ -55,7 +55,7 @@ Timezone* tz;
|
||||||
byte tzCurrent = TZ_INIT; //uninitialized
|
byte tzCurrent = TZ_INIT; //uninitialized
|
||||||
|
|
||||||
/* C++11 form -- static std::array<std::pair<TimeChangeRule, TimeChangeRule>, TZ_COUNT> TZ_TABLE PROGMEM = {{ */
|
/* C++11 form -- static std::array<std::pair<TimeChangeRule, TimeChangeRule>, TZ_COUNT> TZ_TABLE PROGMEM = {{ */
|
||||||
static std::pair<TimeChangeRule, TimeChangeRule> TZ_TABLE[] PROGMEM = {
|
static const std::pair<TimeChangeRule, TimeChangeRule> TZ_TABLE[] PROGMEM = {
|
||||||
/* TZ_UTC */ {
|
/* TZ_UTC */ {
|
||||||
{Last, Sun, Mar, 1, 0}, // UTC
|
{Last, Sun, Mar, 1, 0}, // UTC
|
||||||
{Last, Sun, Mar, 1, 0} // Same
|
{Last, Sun, Mar, 1, 0} // Same
|
||||||
|
|
Ładowanie…
Reference in New Issue