Skip to content

Commit

Permalink
Remove unused function HandleSetCurrentInput
Browse files Browse the repository at this point in the history
  • Loading branch information
erwinpan1 committed Aug 20, 2024
1 parent 282be70 commit 6f42e70
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,6 @@ uint8_t MediaInputManager::HandleGetCurrentInput()
return mCurrentInput;
}

bool MediaInputManager::HandleSetCurrentInput(const uint8_t index)
{
return HandleSelectInput(index);
}

bool MediaInputManager::HandleSelectInput(const uint8_t index)
{
for (auto const & inputData : mInputs)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ class MediaInputManager : public chip::app::Clusters::MediaInput::Delegate

CHIP_ERROR HandleGetInputList(chip::app::AttributeValueEncoder & aEncoder) override;
uint8_t HandleGetCurrentInput() override;
bool HandleSetCurrentInput(const uint8_t index) override;
bool HandleSelectInput(const uint8_t index) override;
bool HandleShowInputStatus() override;
bool HandleHideInputStatus() override;
Expand Down
1 change: 0 additions & 1 deletion src/app/clusters/media-input-server/media-input-delegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ class Delegate
// no easy way to handle the return memory of app::Clusters::MediaInput::Structs::InputInfoStruct::Type list, so encoder is used
virtual CHIP_ERROR HandleGetInputList(app::AttributeValueEncoder & aEncoder) = 0;
virtual uint8_t HandleGetCurrentInput() = 0;
virtual bool HandleSetCurrentInput(const uint8_t index) = 0;
virtual bool HandleSelectInput(const uint8_t index) = 0;
virtual bool HandleShowInputStatus() = 0;
virtual bool HandleHideInputStatus() = 0;
Expand Down

0 comments on commit 6f42e70

Please sign in to comment.