Skip to content

Commit 71e57ea

Browse files
ci(pre-commit): Apply automatic fixes
1 parent e2dc5b6 commit 71e57ea

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libraries/Matter/examples/MatterOnIdentify/MatterOnIdentify.ino

+3-3
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)