summaryrefslogtreecommitdiff
path: root/stmhal/pyexec.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-05-03 13:24:21 +0100
committerDamien George <damien.p.george@gmail.com>2014-05-03 13:24:21 +0100
commit5874c1c92baac65834c4684e913ca0a7d8db8f50 (patch)
tree10e220915d654cf862ed73cefeed3366560857f6 /stmhal/pyexec.c
parente88814a27492c41791bf2a10cd452340b54b66e5 (diff)
stmhal: Remove #include <stdint.h> from mpconfigport.h.
Make include dependencies neater, and adheres to the coding convention that headers should not include headers.
Diffstat (limited to 'stmhal/pyexec.c')
-rw-r--r--stmhal/pyexec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stmhal/pyexec.c b/stmhal/pyexec.c
index 6a8929cb4..294020cec 100644
--- a/stmhal/pyexec.c
+++ b/stmhal/pyexec.c
@@ -84,9 +84,9 @@ bool parse_compile_execute(mp_lexer_t *lex, mp_parse_input_kind_t input_kind, bo
gc_info_t info;
gc_info(&info);
printf("GC:\n");
- printf(" %lu total\n", info.total);
- printf(" %lu : %lu\n", info.used, info.free);
- printf(" 1=%lu 2=%lu m=%lu\n", info.num_1block, info.num_2block, info.max_block);
+ printf(" " UINT_FMT " total\n", info.total);
+ printf(" " UINT_FMT " : " UINT_FMT "\n", info.used, info.free);
+ printf(" 1=" UINT_FMT " 2=" UINT_FMT " m=" UINT_FMT "\n", info.num_1block, info.num_2block, info.max_block);
}
}