Skip to content

Commit ecbd21c

Browse files
fix up rename
1 parent 10caafb commit ecbd21c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/app/clusters/on-off-server/on-off-server.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -621,13 +621,13 @@ bool OnOffServer::offWithEffectCommand(app::CommandHandler * commandObj, const a
621621
// The following check validates that effectVariant value is valid in relation to the applicable enum type.
622622
// DelayedAllOffEffectVariantEnum or DyingLightEffectVariantEnum
623623
if (effectId == EffectIdentifierEnum::kDelayedAllOff &&
624-
!isKnownEnumValue(static_cast<DelayedAllOffEffectVariantEnum>(effectVariant)))
624+
!IsKnownEnumValue(static_cast<DelayedAllOffEffectVariantEnum>(effectVariant)))
625625
{
626626
// The server does not support the given variant, it SHALL use the default variant.
627627
effectVariant = to_underlying(DelayedAllOffEffectVariantEnum::kDelayedOffFastFade);
628628
}
629629
else if (effectId == EffectIdentifierEnum::kDyingLight &&
630-
!isKnownEnumValue(static_cast<DyingLightEffectVariantEnum>(effectVariant)))
630+
!IsKnownEnumValue(static_cast<DyingLightEffectVariantEnum>(effectVariant)))
631631
{
632632
// The server does not support the given variant, it SHALL use the default variant.
633633
effectVariant = to_underlying(DyingLightEffectVariantEnum::kDyingLightFadeOff);

0 commit comments

Comments
 (0)