diff options
author | Damien George <damien.p.george@gmail.com> | 2014-06-15 09:10:07 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-06-15 09:10:07 +0100 |
commit | e79c6696c59e253235f1da1f8d306273b5d215e0 (patch) | |
tree | 96cdedb826bb9ae5b78f004bfb2a6aa8ef38e239 /stmhal/printf.c | |
parent | 34ab8dd6dde058aeeff721eb066dad36858d8f4b (diff) |
stmhal: Fix file print methods to use print instead of printf.
Also make stdout_print_strn static (ultimately this function needs to be
merged with stdout_tx_strn).
Diffstat (limited to 'stmhal/printf.c')
-rw-r--r-- | stmhal/printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/printf.c b/stmhal/printf.c index e95f23aba..26c552039 100644 --- a/stmhal/printf.c +++ b/stmhal/printf.c @@ -195,7 +195,7 @@ int pfenv_printf(const pfenv_t *pfenv, const char *fmt, va_list args) { return chrs; } -void stdout_print_strn(void *data, const char *str, unsigned int len) { +STATIC void stdout_print_strn(void *data, const char *str, unsigned int len) { // TODO this needs to be replaced with a proper stdio interface ala CPython // send stdout to UART and USB CDC VCP if (pyb_uart_global_debug != PYB_UART_NONE) { |