Skip to content

Commit 107012c

Browse files
committed
fix pre-commit
1 parent e0dfa62 commit 107012c

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

variants/adafruit_feather_esp32c6/pins_arduino.h

+9-10
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,28 @@
44
#include <stdint.h>
55
#include "soc/soc_caps.h"
66

7-
#define PIN_NEOPIXEL 9
7+
#define PIN_NEOPIXEL 9
88
// BUILTIN_LED can be used in new Arduino API digitalWrite() like in Blink.ino
99
static const uint8_t LED_BUILTIN = 15;
10-
#define BUILTIN_LED LED_BUILTIN // backward compatibility
10+
#define BUILTIN_LED LED_BUILTIN // backward compatibility
1111
#define LED_BUILTIN LED_BUILTIN // allow testing #ifdef LED_BUILTIN
1212
// RGB_BUILTIN and RGB_BRIGHTNESS can be used in new Arduino API neopixelWrite()
13-
#define RGB_BUILTIN (SOC_GPIO_PIN_COUNT+PIN_NEOPIXEL)
13+
#define RGB_BUILTIN (SOC_GPIO_PIN_COUNT + PIN_NEOPIXEL)
1414
#define RGB_BRIGHTNESS 64
1515

16-
17-
#define NEOPIXEL_I2C_POWER 20 // I2C power pin
18-
#define PIN_NEOPIXEL_I2C_POWER 20 // I2C power pin
16+
#define NEOPIXEL_I2C_POWER 20 // I2C power pin
17+
#define PIN_NEOPIXEL_I2C_POWER 20 // I2C power pin
1918

2019
static const uint8_t TX = 16;
2120
static const uint8_t RX = 17;
2221

2322
static const uint8_t SDA = 19;
2423
static const uint8_t SCL = 18;
2524

26-
static const uint8_t SS = 0;
27-
static const uint8_t MOSI = 22;
28-
static const uint8_t MISO = 23;
29-
static const uint8_t SCK = 21;
25+
static const uint8_t SS = 0;
26+
static const uint8_t MOSI = 22;
27+
static const uint8_t MISO = 23;
28+
static const uint8_t SCK = 21;
3029

3130
static const uint8_t A0 = 1;
3231
static const uint8_t A1 = 4;

0 commit comments

Comments
 (0)