Skip to content
Snippets Groups Projects
Commit 8d3b0a9f authored by mux's avatar mux
Browse files

Add LCD check to stdout_print_strn

parent bd61a6ce
No related branches found
No related tags found
No related merge requests found
......@@ -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
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment