Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4cf0f20

Browse files
ci(pre-commit): Apply automatic fixes
1 parent 3bf8f23 commit 4cf0f20

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎libraries/Matter/src/MatterEndpoints/MatterOccupancySensor.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,8 @@ using namespace esp_matter::endpoint;
2424
using namespace chip::app::Clusters;
2525

2626
const uint8_t MatterOccupancySensor::occupancySensorTypeBitmap[4] = {
27-
MatterOccupancySensor::occupancySensorTypePir,
28-
MatterOccupancySensor::occupancySensorTypePir | MatterOccupancySensor::occupancySensorTypeUltrasonic,
29-
MatterOccupancySensor::occupancySensorTypeUltrasonic,
30-
MatterOccupancySensor::occupancySensorTypePhysicalContact
27+
MatterOccupancySensor::occupancySensorTypePir, MatterOccupancySensor::occupancySensorTypePir | MatterOccupancySensor::occupancySensorTypeUltrasonic,
28+
MatterOccupancySensor::occupancySensorTypeUltrasonic, MatterOccupancySensor::occupancySensorTypePhysicalContact
3129
};
3230

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

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /