Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
8d3b0a9f
Commit
8d3b0a9f
authored
Jan 27, 2014
by
mux
Browse files
Add LCD check to stdout_print_strn
parent
bd61a6ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
stm/printf.c
View file @
8d3b0a9f
...
...
@@ -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
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment