diff options
Diffstat (limited to 'stmhal/lcd.c')
-rw-r--r-- | stmhal/lcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stmhal/lcd.c b/stmhal/lcd.c index c5952fa48c..e2b9e22976 100644 --- a/stmhal/lcd.c +++ b/stmhal/lcd.c @@ -17,14 +17,14 @@ #include "font_petme128_8x8.h" #include "lcd.h" -#if defined(PYBOARD3) +#if defined(PYBV3) #define PYB_LCD_PORT (GPIOA) #define PYB_LCD_CS1_PIN (GPIO_PIN_0) #define PYB_LCD_RST_PIN (GPIO_PIN_1) #define PYB_LCD_A0_PIN (GPIO_PIN_2) #define PYB_LCD_SCL_PIN (GPIO_PIN_3) #define PYB_LCD_SI_PIN (GPIO_PIN_4) -#elif defined(PYBOARD4) || defined(PYBv10) +#elif defined(PYBV4) || defined(PYBV10) // X position #define PYB_LCD_PORT (GPIOA) #define PYB_LCD_CS1_PIN (GPIO_PIN_2) // X3 |