summaryrefslogtreecommitdiffstatshomepage
path: root/stm/lcd.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/lcd.c')
-rw-r--r--stm/lcd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/stm/lcd.c b/stm/lcd.c
index 6f5019db1b..01ef1c154b 100644
--- a/stm/lcd.c
+++ b/stm/lcd.c
@@ -4,6 +4,9 @@
#include "nlr.h"
#include "misc.h"
#include "mpconfig.h"
+
+#if MICROPY_HW_HAS_LCD
+
#include "qstr.h"
#include "parse.h"
#include "obj.h"
@@ -378,3 +381,5 @@ void lcd_print_strn(const char *str, unsigned int len) {
sys_tick_delay_ms(50);
}
}
+
+#endif // MICROPY_HW_HAS_LCD