File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
libraries/Matter/examples/MatterOnIdentify Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ bool onIdentifyLightCallback(bool identifyIsActive) {
6969 if (identifyIsActive) {
7070 // Start Blinking the light in loop()
7171 identifyFlag = true ;
72- identifyBlink = !OnOffLight; // Start with the inverted light state
72+ identifyBlink = !OnOffLight; // Start with the inverted light state
7373 } else {
7474 // Stop Blinking and restore the light to the its last state
7575 identifyFlag = false ;
@@ -136,7 +136,7 @@ void loop() {
136136 uint8_t brightness = 32 * identifyBlink;
137137 rgbLedWrite (identifyLedPin, brightness, 0 , 0 );
138138#else
139- digitalWrite (identifyLedPin, identifyBlink ? HIGH : LOW);
139+ digitalWrite (identifyLedPin, identifyBlink ? HIGH : LOW);
140140#endif
141141 identifyBlink = !identifyBlink;
142142 }
@@ -160,5 +160,5 @@ void loop() {
160160 button_time_stamp = millis (); // avoid running decommissining again, reboot takes a second or so
161161 }
162162
163- delay (500 ); // works as a debounce for the button and also for the LED blink
163+ delay (500 ); // works as a debounce for the button and also for the LED blink
164164}
You can’t perform that action at this time.
0 commit comments