Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 71e57ea

Browse filesBrowse files
ci(pre-commit): Apply automatic fixes
1 parent e2dc5b6 commit 71e57ea
Copy full SHA for 71e57ea

File tree

1 file changed

+3
-3
lines changed
Filter options

1 file changed

+3
-3
lines changed

‎libraries/Matter/examples/MatterOnIdentify/MatterOnIdentify.ino

Copy file name to clipboardExpand all lines: libraries/Matter/examples/MatterOnIdentify/MatterOnIdentify.ino
+3-3Lines changed: 3 additions & 3 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.