Skip to content

Commit

Permalink
ci(pre-commit): Apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Dec 12, 2024
1 parent 3bf8f23 commit 4cf0f20
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ using namespace esp_matter::endpoint;
using namespace chip::app::Clusters;

const uint8_t MatterOccupancySensor::occupancySensorTypeBitmap[4] = {
MatterOccupancySensor::occupancySensorTypePir,
MatterOccupancySensor::occupancySensorTypePir | MatterOccupancySensor::occupancySensorTypeUltrasonic,
MatterOccupancySensor::occupancySensorTypeUltrasonic,
MatterOccupancySensor::occupancySensorTypePhysicalContact
MatterOccupancySensor::occupancySensorTypePir, MatterOccupancySensor::occupancySensorTypePir | MatterOccupancySensor::occupancySensorTypeUltrasonic,
MatterOccupancySensor::occupancySensorTypeUltrasonic, MatterOccupancySensor::occupancySensorTypePhysicalContact
};

bool MatterOccupancySensor::attributeChangeCB(uint16_t endpoint_id, uint32_t cluster_id, uint32_t attribute_id, esp_matter_attr_val_t *val) {
Expand Down

0 comments on commit 4cf0f20

Please sign in to comment.