Skip to content

Commit 7349879

Browse files
Fix AuxiliaryLoad max value
1 parent b8c97b8 commit 7349879

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/all-clusters-app/all-clusters-common/src/energy-calendar-instance.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ void CalendarProviderInstance::JsonToTransitionStructList(Json::Value & root,
415415
}
416416

417417
t = v.get("AuxiliaryLoad", Json::Value());
418-
if (!t.empty() && t.isUInt() && t.asUInt() < 0x80)
418+
if (!t.empty() && t.isUInt() && t.asUInt() < 0x100)
419419
{
420420
value[i].auxiliaryLoad.SetValue(chip::BitMask<AuxiliaryLoadBitmap>((uint8_t) t.asUInt()));
421421
}

0 commit comments

Comments
 (0)