Commit 8d3b0a9f authored by mux's avatar mux
Browse files

Add LCD check to stdout_print_strn

parent bd61a6ce
......@@ -6,6 +6,7 @@
#include "misc.h"
#include "systick.h"
#include "mpconfig.h"
#include "mpconfigport.h"
#include "qstr.h"
#include "obj.h"
#include "lcd.h"
......@@ -247,7 +248,9 @@ void stdout_print_strn(void *data, const char *str, unsigned int len) {
any = true;
}
if (!any) {
#if MICROPY_HW_HAS_LCD
lcd_print_strn(str, len);
#endif
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment