Skip to content

Commit 1a14a6d

Browse files
ci(pre-commit): Apply automatic fixes
1 parent fe50369 commit 1a14a6d

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Diff for: cores/esp32/esp32-hal-gpio.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ extern void ARDUINO_ISR_ATTR __digitalWrite(uint8_t pin, uint8_t val) {
169169
neopixelWrite(RGB_BUILTIN, comm_val, comm_val, comm_val);
170170
return;
171171
}
172-
#endif // RGB_BUILTIN
172+
#endif // RGB_BUILTIN
173173
if (perimanGetPinBus(pin, ESP32_BUS_TYPE_GPIO) != NULL) {
174174
gpio_set_level((gpio_num_t)pin, val);
175175
} else {

Diff for: libraries/ESP32/examples/RMT/Legacy_RMT_Driver_Compatible/Legacy_RMT_Driver_Compatible.ino

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
/*
22
* This example demonstrates how to use the file build_opt.h to disable the new RMT Driver
3-
* Note that this file shall be added the Arduino project
4-
*
3+
* Note that this file shall be added the Arduino project
4+
*
55
* If the content of this file changes, it is necessary to delete the compiled Arduino IDE cache
66
* It can be done by changing, for instance, the "Core Debug Level" option, forcing the system to rebuild the Arduino Core
7-
*
7+
*
88
*/
99

1010
#ifndef ESP32_ARDUINO_NO_RGB_BUILTIN
@@ -30,9 +30,9 @@ void setup() {
3030

3131
void loop() {
3232
String msg = "RMT Legacy driver is installed: ";
33-
msg += (char*)(installed ? "Yes." : "No.");
33+
msg += (char *)(installed ? "Yes." : "No.");
3434
Serial.println(msg);
3535
delay(5000);
3636
}
3737

38-
#endif // ESP32_ARDUINO_NO_RGB_BUILTIN
38+
#endif // ESP32_ARDUINO_NO_RGB_BUILTIN
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
-DESP32_ARDUINO_NO_RGB_BUILTIN
1+
-DESP32_ARDUINO_NO_RGB_BUILTIN

0 commit comments

Comments
 (0)