Skip to content

Commit 9401cf9

Browse files
ci(pre-commit): Apply automatic fixes
1 parent e2bb733 commit 9401cf9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libraries/Matter/examples/MatterEnhancedColorLight/MatterEnhancedColorLight.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ bool setLightState(bool state, espHsvColor_t colorHSV, uint8_t brighteness, uint
6767
#ifndef RGB_BUILTIN
6868
// after analogWrite(), it is necessary to set the GPIO to digital mode first
6969
pinMode(ledPin, OUTPUT);
70-
#endif
70+
#endif
7171
digitalWrite(ledPin, LOW);
7272
}
7373
// store last HSV Color and OnOff state for when the Light is restarted / power goes off

libraries/Matter/examples/MatterFan/MatterFan.ino

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ void fanDCMotorDrive(bool fanState, uint8_t speedPercent) {
4949
// drive the Fan DC motor
5050
if (fanState == false) {
5151
// turn off the Fan
52-
#ifndef RGB_BUILTIN
52+
#ifndef RGB_BUILTIN
5353
// after analogWrite(), it is necessary to set the GPIO to digital mode first
5454
pinMode(dcMotorPin, OUTPUT);
5555
#endif
56-
digitalWrite(dcMotorPin, LOW);
56+
digitalWrite(dcMotorPin, LOW);
5757
} else {
5858
// set the Fan speed
5959
uint8_t fanDCMotorPWM = map(speedPercent, 0, 100, 0, 255);

0 commit comments

Comments
 (0)