Skip to content

Commit a4564a6

Browse files
Make PinNames.h pass pin validation
1 parent 916a736 commit a4564a6

File tree

1 file changed

+5
-5
lines changed
  • targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_RASPBERRY_PI_PICO

1 file changed

+5
-5
lines changed

targets/TARGET_RASPBERRYPI/TARGET_RP2040/TARGET_RASPBERRY_PI_PICO/PinNames.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
2+
/* MBED TARGET LIST: RASPBERRY_PI_PICO */
3+
14
#ifndef MBED_PINNAMES_H
25
#define MBED_PINNAMES_H
36

@@ -54,15 +57,12 @@ typedef enum {
5457
CONSOLE_TX = p0,
5558
CONSOLE_RX = p1,
5659

57-
LED1 = p25,
58-
LED2 = p25,
59-
LED3 = p25,
60-
LED4 = p25,
61-
6260
// Not connected
6361
NC = (int)0xFFFFFFFF
6462
} PinName;
6563

64+
#define LED1 p25
65+
6666
#ifdef __cplusplus
6767
}
6868
#endif

0 commit comments

Comments
 (0)