Skip to content

Commit

Permalink
Another compile fix
Browse files Browse the repository at this point in the history
  • Loading branch information
andreilitvin committed Nov 14, 2023
1 parent 7957832 commit 6456de2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ JNI_METHOD(jboolean, levelControl_1step)
ChipLogError(AppServer, "MatterCallbackHandlerJNI.SetUp failed %" CHIP_ERROR_FORMAT, err.Format()));

err = CastingServer::GetInstance()->LevelControl_Step(
&endpoint, static_cast<chip::app::Clusters::LevelControl::MoveModeEnum>(stepMode), static_cast<uint8_t>(stepSize),
&endpoint, static_cast<chip::app::Clusters::LevelControl::StepModeEnum>(stepMode), static_cast<uint8_t>(stepSize),
static_cast<uint16_t>(transitionTime), static_cast<uint8_t>(optionMask), static_cast<uint8_t>(optionOverride),
[](CHIP_ERROR err) { TvCastingAppJNIMgr().getMediaCommandResponseHandler(LevelControl_Step).Handle(err); });
VerifyOrExit(CHIP_NO_ERROR == err,
Expand Down

0 comments on commit 6456de2

Please sign in to comment.