diff --git a/examples/chef/build_all.sh b/examples/chef/build_all.sh index 9c2e938eabb306..71973641a27b4f 100755 --- a/examples/chef/build_all.sh +++ b/examples/chef/build_all.sh @@ -19,7 +19,7 @@ fi device_types=( rootnode_airqualitysensor_e63187f6c9 -# rootnode_basicvideoplayer_0ff86e943b +rootnode_basicvideoplayer_0ff86e943b rootnode_colortemperaturelight_hbUnzYVeyn rootnode_contactsensor_lFAGG1bfRO rootnode_dimmablelight_bCwGYSDpoe diff --git a/examples/chef/common/clusters/media-input/MediaInputManager.h b/examples/chef/common/clusters/media-input/MediaInputManager.h index d922d5aa650b59..4d037207a03657 100644 --- a/examples/chef/common/clusters/media-input/MediaInputManager.h +++ b/examples/chef/common/clusters/media-input/MediaInputManager.h @@ -18,7 +18,6 @@ #pragma once -#include #include #include diff --git a/examples/chef/common/clusters/media-playback/MediaPlaybackManager.cpp b/examples/chef/common/clusters/media-playback/MediaPlaybackManager.cpp index db3af119c5b286..c3ae73491804fe 100644 --- a/examples/chef/common/clusters/media-playback/MediaPlaybackManager.cpp +++ b/examples/chef/common/clusters/media-playback/MediaPlaybackManager.cpp @@ -123,7 +123,7 @@ CHIP_ERROR MediaPlaybackManager::HandleSetCurrentState(PlaybackStateEnum current ChipLogError(Zcl, "Unable to set CurrentState attribute, 0x%x", to_underlying(status)); } - return CHIP_ERROR_IM_GLOBAL_STATUS_VALUE(status); + return chip::ChipError(::chip::ChipError::SdkPart::kIMGlobalStatus, ::chip::to_underlying(status)); } CHIP_ERROR MediaPlaybackManager::HandleSetPlaybackSpeed(float playbackSpeed) @@ -135,7 +135,7 @@ CHIP_ERROR MediaPlaybackManager::HandleSetPlaybackSpeed(float playbackSpeed) ChipLogError(Zcl, "Unable to set PlaybackSpeed attribute, 0x%x", to_underlying(status)); } - return CHIP_ERROR_IM_GLOBAL_STATUS_VALUE(status); + return chip::ChipError(::chip::ChipError::SdkPart::kIMGlobalStatus, ::chip::to_underlying(status)); } void MediaPlaybackManager::HandlePlay(CommandResponseHelper & helper)