summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/lcd.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-23 00:25:09 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-23 00:25:09 +0000
commit965e2bafeabf1663f7d641bf5d16fa7f9116d822 (patch)
tree7ab27e455c7ad13bd3328488364a5770e50d666a /stmhal/lcd.c
parentbadc9d4a953f9636983928feb16d33b71e01f975 (diff)
downloadmicropython-965e2bafeabf1663f7d641bf5d16fa7f9116d822.tar.gz
micropython-965e2bafeabf1663f7d641bf5d16fa7f9116d822.zip
stmhal: Improve LED intensity get/set method.
Diffstat (limited to 'stmhal/lcd.c')
-rw-r--r--stmhal/lcd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/lcd.c b/stmhal/lcd.c
index 7c15cbcd21..d2db7b7ba1 100644
--- a/stmhal/lcd.c
+++ b/stmhal/lcd.c
@@ -23,7 +23,7 @@
#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)
+#elif defined(PYBOARD4) || defined(PYBv10)
// X position
#define PYB_LCD_PORT (GPIOA)
#define PYB_LCD_CS1_PIN (GPIO_PIN_2) // X3