Skip to content

Commit 154ae8d

Browse files
committed
Fix tags list for Mapping mode
1 parent fd92b12 commit 154ae8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/chef/common/chef-rvc-mode-delegate.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ class RvcRunModeDelegate : public ModeBase::Delegate
4242
using ModeTagStructType = detail::Structs::ModeTagStruct::Type;
4343
ModeTagStructType ModeTagsIdle[1] = { { .value = to_underlying(ModeTag::kIdle) } };
4444
ModeTagStructType ModeTagsCleaning[1] = { { .value = to_underlying(ModeTag::kCleaning) } };
45+
ModeTagStructType ModeTagsMapping[1] = { { .value = to_underlying(ModeTag::kMapping) } };
4546

4647
const detail::Structs::ModeOptionStruct::Type kModeOptions[3] = {
4748
detail::Structs::ModeOptionStruct::Type{ .label = CharSpan::fromCharString("Idle"),
@@ -52,7 +53,7 @@ class RvcRunModeDelegate : public ModeBase::Delegate
5253
.modeTags = DataModel::List<const ModeTagStructType>(ModeTagsCleaning) },
5354
detail::Structs::ModeOptionStruct::Type{ .label = CharSpan::fromCharString("Mapping"),
5455
.mode = ModeMapping,
55-
.modeTags = DataModel::List<const ModeTagStructType>(ModeTagsIdle) },
56+
.modeTags = DataModel::List<const ModeTagStructType>(ModeTagsMapping) },
5657
};
5758

5859
CHIP_ERROR Init() override;

0 commit comments

Comments
 (0)