We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 646785e commit 18011b1Copy full SHA for 18011b1
libraries/Matter/examples/MatterPressureSensor/MatterPressureSensor.ino
@@ -122,8 +122,8 @@ void loop() {
122
// Onboard User Button is kept pressed for longer than 5 seconds in order to decommission matter node
123
uint32_t time_diff = millis() - button_time_stamp;
124
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.");
+ // Factory reset is triggered if the button is pressed longer than 5 seconds
+ Serial.println("Decommissioning the Matter Accessory. It shall be commissioned again.");
127
Matter.decommission();
128
}
129
0 commit comments