Skip to content

Commit adec54b

Browse files
committed
Change some macro names
1 parent 5324bb9 commit adec54b

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/boards/include/boards/waveshare_rp2040_lcd_0.96.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,26 +58,26 @@
5858
#endif
5959

6060
// --- LCD ---
61-
#ifndef PICO_LCD_SPI
62-
#define PICO_LCD_SPI 1
61+
#ifndef WAVESHARE_RP2040_LCD_SPI
62+
#define WAVESHARE_RP2040_LCD_SPI 1
6363
#endif
64-
#ifndef PICO_LCD_DC_PIN
65-
#define PICO_LCD_DC_PIN 8
64+
#ifndef WAVESHARE_RP2040_LCD_DC_PIN
65+
#define WAVESHARE_RP2040_LCD_DC_PIN 8
6666
#endif
67-
#ifndef PICO_LCD_CS_PIN
68-
#define PICO_LCD_CS_PIN 9
67+
#ifndef WAVESHARE_RP2040_LCD_CS_PIN
68+
#define WAVESHARE_RP2040_LCD_CS_PIN 9
6969
#endif
70-
#ifndef PICO_LCD_SCLK_PIN
71-
#define PICO_LCD_SCLK_PIN 10
70+
#ifndef WAVESHARE_RP2040_LCD_SCLK_PIN
71+
#define WAVESHARE_RP2040_LCD_SCLK_PIN 10
7272
#endif
73-
#ifndef PICO_LCD_TX_PIN
74-
#define PICO_LCD_TX_PIN 11
73+
#ifndef WAVESHARE_RP2040_LCD_TX_PIN
74+
#define WAVESHARE_RP2040_LCD_TX_PIN 11
7575
#endif
76-
#ifndef PICO_LCD_RST_PIN
77-
#define PICO_LCD_RST_PIN 12
76+
#ifndef WAVESHARE_RP2040_LCD_RST_PIN
77+
#define WAVESHARE_RP2040_LCD_RST_PIN 12
7878
#endif
79-
#ifndef PICO_LCD_BL_PIN
80-
#define PICO_LCD_BL_PIN 25
79+
#ifndef WAVESHARE_RP2040_LCD_BL_PIN
80+
#define WAVESHARE_RP2040_LCD_BL_PIN 25
8181
#endif
8282

8383
// --- FLASH ---

0 commit comments

Comments
 (0)