Remove duplicate Month and Weekday enums

Well, they were duplicately-exposed, but triplicately-defined.
This commit is contained in:
Aaron Franke
2022-10-20 16:54:39 -05:00
parent b6e06038f8
commit 8d7d1b0bb2
8 changed files with 71 additions and 167 deletions

View File

@@ -52,8 +52,8 @@ static const uint8_t MONTH_DAYS_TABLE[2][12] = {
{ 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }
};
VARIANT_ENUM_CAST(Time::Month);
VARIANT_ENUM_CAST(Time::Weekday);
VARIANT_ENUM_CAST(Month);
VARIANT_ENUM_CAST(Weekday);
#define UNIX_TIME_TO_HMS \
uint8_t hour, minute, second; \