Skip to content

Commit

Permalink
fix build error import from pr 25289 (#25748)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry-ESP authored and pull[bot] committed Jan 11, 2024
1 parent aab657e commit 1628540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/platform/ESP32/ESP32DeviceInfoProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ ESP32DeviceInfoProvider::SupportedCalendarTypesIteratorImpl::SupportedCalendarTy
size_t ESP32DeviceInfoProvider::SupportedCalendarTypesIteratorImpl::Count()
{
size_t count = 0;
for (uint8_t i = 0; i < to_underlying(CalendarTypeEnum::kUnknownEnumValue); i++)
for (uint8_t i = 0; i < to_underlying(app::Clusters::TimeFormatLocalization::CalendarTypeEnum::kUnknownEnumValue); i++)
{
if (mSupportedCalendarTypes & (1 << i))
{
Expand All @@ -254,7 +254,7 @@ size_t ESP32DeviceInfoProvider::SupportedCalendarTypesIteratorImpl::Count()

bool ESP32DeviceInfoProvider::SupportedCalendarTypesIteratorImpl::Next(CalendarType & output)
{
while (mIndex < to_underlying(CalendarTypeEnum::kUnknownEnumValue))
while (mIndex < to_underlying(app::Clusters::TimeFormatLocalization::CalendarTypeEnum::kUnknownEnumValue))
{
if (mSupportedCalendarTypes & (1 << mIndex))
{
Expand Down

0 comments on commit 1628540

Please sign in to comment.