Skip to content

Commit b882be5

Browse files
authored
Remove onboard LED pin definition from devices without an onboard LED (#590)
1 parent 4081d8a commit b882be5

10 files changed

Lines changed: 20 additions & 40 deletions

File tree

configs/FlatboxRev4/flatboxrev4.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@
3232
#define PICO_DEFAULT_UART_RX_PIN 1
3333
#endif
3434

35-
// --- LED ---
36-
#ifndef PICO_DEFAULT_LED_PIN
37-
#define PICO_DEFAULT_LED_PIN 25
38-
#endif
35+
// no onboard LED
36+
3937
// no PICO_DEFAULT_WS2812_PIN
4038

4139
// --- I2C ---

configs/FlatboxRev5/flatboxrev5.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@
3131
#define PICO_DEFAULT_UART_RX_PIN 1
3232
#endif
3333

34-
// --- LED ---
35-
#ifndef PICO_DEFAULT_LED_PIN
36-
#define PICO_DEFAULT_LED_PIN 25
37-
#endif
34+
// no onboard LED
35+
3836
// no PICO_DEFAULT_WS2812_PIN
3937

4038
// --- I2C ---

configs/FlatboxRev5Southpaw/flatboxrev5.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@
3131
#define PICO_DEFAULT_UART_RX_PIN 1
3232
#endif
3333

34-
// --- LED ---
35-
#ifndef PICO_DEFAULT_LED_PIN
36-
#define PICO_DEFAULT_LED_PIN 25
37-
#endif
34+
// no onboard LED
35+
3836
// no PICO_DEFAULT_WS2812_PIN
3937

4038
// --- I2C ---

configs/MavercadeKeebfighter/MavercadeKeebfighter.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@
3131
#define PICO_DEFAULT_UART_RX_PIN 1
3232
#endif
3333

34-
// --- LED ---
35-
#ifndef PICO_DEFAULT_LED_PIN
36-
#define PICO_DEFAULT_LED_PIN 25
37-
#endif
34+
// no onboard LED
35+
3836
// no PICO_DEFAULT_WS2812_PIN
3937

4038
// --- I2C ---

configs/OpenCore0/Open_Core0.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@
2121
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
2222
#endif
2323

24-
// --- LED ---
25-
#ifndef PICO_DEFAULT_LED_PIN
26-
#define PICO_DEFAULT_LED_PIN 25
27-
#endif
24+
// no onboard LED
25+
2826
// no PICO_DEFAULT_WS2812_PIN
2927

3028
// --- FLASH ---

configs/OpenCore0WASD/Open_Core0 WASD.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@
2121
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
2222
#endif
2323

24-
// --- LED ---
25-
#ifndef PICO_DEFAULT_LED_PIN
26-
#define PICO_DEFAULT_LED_PIN 25
27-
#endif
24+
// no onboard LED
25+
2826
// no PICO_DEFAULT_WS2812_PIN
2927

3028
// --- FLASH ---

configs/RanaTadpole/RanaTadpole.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,8 @@
2121
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
2222
#endif
2323

24-
// --- LED ---
25-
#ifndef PICO_DEFAULT_LED_PIN
26-
#define PICO_DEFAULT_LED_PIN 25
27-
#endif
24+
// no onboard LED
25+
2826
// no PICO_DEFAULT_WS2812_PIN
2927

3028
// --- FLASH ---

configs/SGFDevices/sgfdevices.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@
3232
#define PICO_DEFAULT_UART_RX_PIN 1
3333
#endif
3434

35-
// --- LED ---
36-
#ifndef PICO_DEFAULT_LED_PIN
37-
#define PICO_DEFAULT_LED_PIN 25
38-
#endif
35+
// no onboard LED
36+
3937
// no PICO_DEFAULT_WS2812_PIN
4038

4139
// --- I2C ---

configs/Stress/stress.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@
3232
#define PICO_DEFAULT_UART_RX_PIN 1
3333
#endif
3434

35-
// --- LED ---
36-
#ifndef PICO_DEFAULT_LED_PIN
37-
#define PICO_DEFAULT_LED_PIN 25
38-
#endif
35+
// // no onboard LED
36+
3937
// no PICO_DEFAULT_WS2812_PIN
4038

4139
// --- I2C ---

configs/WaveshareZero/wavesharezero.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@
3232
#define PICO_DEFAULT_UART_RX_PIN 1
3333
#endif
3434

35-
// --- LED ---
36-
#ifndef PICO_DEFAULT_LED_PIN
37-
#define PICO_DEFAULT_LED_PIN 25
38-
#endif
35+
// // no onboard LED
36+
3937
// no PICO_DEFAULT_WS2812_PIN
4038

4139
// --- I2C ---

0 commit comments

Comments
 (0)