Skip to content

Commit d4ac7a4

Browse files
authored
fix(matter): wrong test logic
1 parent cd24aa5 commit d4ac7a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Matter/examples/MatterLambdaSingleCallbackManyEPs/MatterLambdaSingleCallbackManyEPs.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ void loop() {
117117
}
118118
}
119119
} else {
120-
if (!Matter.isDeviceConnected()) {
120+
if (Matter.isDeviceConnected()) {
121121
Serial.println("Matter Node is commissioned and connected to the network. Ready for use.");
122122
} else {
123123
Serial.println("Matter Node is commissioned. Waiting for the network connection.");

0 commit comments

Comments
 (0)