ci(pre-commit): Apply automatic fixes · espressif/arduino-esp32@71e57ea (original) (raw)
File tree
1 file changed
lines changed
- libraries/Matter/examples/MatterOnIdentify
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -69,7 +69,7 @@ bool onIdentifyLightCallback(bool identifyIsActive) { | ||
69 | 69 | if (identifyIsActive) { |
70 | 70 | // Start Blinking the light in loop() |
71 | 71 | identifyFlag = true; |
72 | - identifyBlink = !OnOffLight; // Start with the inverted light state | |
72 | + identifyBlink = !OnOffLight; // Start with the inverted light state | |
73 | 73 | } else { |
74 | 74 | // Stop Blinking and restore the light to the its last state |
75 | 75 | identifyFlag = false; |
@@ -136,7 +136,7 @@ void loop() { | ||
136 | 136 | uint8_t brightness = 32 * identifyBlink; |
137 | 137 | rgbLedWrite(identifyLedPin, brightness, 0, 0); |
138 | 138 | #else |
139 | -digitalWrite(identifyLedPin, identifyBlink ? HIGH : LOW); | |
139 | + digitalWrite(identifyLedPin, identifyBlink ? HIGH : LOW); | |
140 | 140 | #endif |
141 | 141 | identifyBlink = !identifyBlink; |
142 | 142 | } |
@@ -160,5 +160,5 @@ void loop() { | ||
160 | 160 | button_time_stamp = millis(); // avoid running decommissining again, reboot takes a second or so |
161 | 161 | } |
162 | 162 | |
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 | |
164 | 164 | } |