Skip to content

Commit 18011b1

Browse files
authored
fix(matter): commentaries and messages related to the factory reset
1 parent 646785e commit 18011b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: libraries/Matter/examples/MatterPressureSensor/MatterPressureSensor.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ void loop() {
122122
// Onboard User Button is kept pressed for longer than 5 seconds in order to decommission matter node
123123
uint32_t time_diff = millis() - button_time_stamp;
124124
if (button_state && time_diff > decommissioningTimeout) {
125-
// Factory reset is triggered if the button is pressed longer than 10 seconds
126-
Serial.println("Decommissioning the Light Matter Accessory. It shall be commissioned again.");
125+
// Factory reset is triggered if the button is pressed longer than 5 seconds
126+
Serial.println("Decommissioning the Matter Accessory. It shall be commissioned again.");
127127
Matter.decommission();
128128
}
129129

0 commit comments

Comments
 (0)