Skip to content

Commit

Permalink
Remove PowerSourceFeature from the allow list of defines
Browse files Browse the repository at this point in the history
  • Loading branch information
vivien-apple committed Feb 21, 2023
1 parent 3951efb commit ac0747b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
3 changes: 2 additions & 1 deletion examples/bridge-app/linux/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -989,7 +989,8 @@ int main(int argc, char * argv[])

// Setup composed device with two temperature sensors and a power source
ComposedDevice ComposedDevice("Composed Device", "Bedroom");
DevicePowerSource ComposedPowerSource("Composed Power Source", "Bedroom", EMBER_AF_POWER_SOURCE_FEATURE_BATTERY);
DevicePowerSource ComposedPowerSource("Composed Power Source", "Bedroom",
to_underlying(PowerSource::PowerSourceFeature::kBattery));

ComposedDevice.SetReachable(true);
ComposedTempSensor1.SetReachable(true);
Expand Down
1 change: 0 additions & 1 deletion src/app/common/templates/config-data.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ DefineBitmaps:
- BarrierControlSafetyStatus
- ColorLoopUpdateFlags
- LevelControlFeature
- PowerSourceFeature

# We need a more configurable way of deciding which clusters have which init functions....
# See https://github.com/project-chip/connectedhomeip/issues/4369
Expand Down
8 changes: 0 additions & 8 deletions zzz_generated/app-common/app-common/zap-generated/enums.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ac0747b

Please sign in to comment.