Skip to content

Commit

Permalink
Fix types back
Browse files Browse the repository at this point in the history
  • Loading branch information
andy31415 committed Nov 13, 2023
1 parent 8aecfb0 commit 6b261fd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/app/clusters/level-control/level-control.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static Status moveToLevelHandler(EndpointId endpoint, CommandId commandId, uint8
static void moveHandler(app::CommandHandler * commandObj, const app::ConcreteCommandPath & commandPath, MoveModeEnum moveMode,
app::DataModel::Nullable<uint8_t> rate, chip::Optional<BitMask<OptionsBitmap>> optionsMask,
chip::Optional<BitMask<OptionsBitmap>> optionsOverride);
static void stepHandler(app::CommandHandler * commandObj, const app::ConcreteCommandPath & commandPath, MoveModeEnum stepMode,
static void stepHandler(app::CommandHandler * commandObj, const app::ConcreteCommandPath & commandPath, StepModeEnum stepMode,
uint8_t stepSize, app::DataModel::Nullable<uint16_t> transitionTimeDs,
chip::Optional<BitMask<OptionsBitmap>> optionsMask, chip::Optional<BitMask<OptionsBitmap>> optionsOverride);
static void stopHandler(app::CommandHandler * commandObj, const app::ConcreteCommandPath & commandPath,
Expand Down Expand Up @@ -1059,7 +1059,7 @@ static void moveHandler(app::CommandHandler * commandObj, const app::ConcreteCom
commandObj->AddStatus(commandPath, status);
}

static void stepHandler(app::CommandHandler * commandObj, const app::ConcreteCommandPath & commandPath, MoveModeEnum stepMode,
static void stepHandler(app::CommandHandler * commandObj, const app::ConcreteCommandPath & commandPath, StepModeEnum stepMode,
uint8_t stepSize, app::DataModel::Nullable<uint16_t> transitionTimeDs,
chip::Optional<BitMask<OptionsBitmap>> optionsMask, chip::Optional<BitMask<OptionsBitmap>> optionsOverride)
{
Expand Down Expand Up @@ -1107,7 +1107,7 @@ static void stepHandler(app::CommandHandler * commandObj, const app::ConcreteCom
// level over the specified transition time.
switch (stepMode)
{
case MoveModeEnum::kUp:
case StepModeEnum::kUp:
state->increasing = true;
if (state->maxLevel - currentLevel.Value() < stepSize)
{
Expand All @@ -1119,7 +1119,7 @@ static void stepHandler(app::CommandHandler * commandObj, const app::ConcreteCom
state->moveToLevel = static_cast<uint8_t>(currentLevel.Value() + stepSize);
}
break;
case MoveModeEnum::kDown:
case StepModeEnum::kDown:
state->increasing = false;
if (currentLevel.Value() - state->minLevel < stepSize)
{
Expand Down
2 changes: 1 addition & 1 deletion third_party/mbedtls/repo
Submodule repo updated from e44be6 to d6d43e
2 changes: 1 addition & 1 deletion third_party/pigweed/repo
Submodule repo updated 333 files

0 comments on commit 6b261fd

Please sign in to comment.