summaryrefslogtreecommitdiffstatshomepage
path: root/stmhal/modpyb.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/modpyb.c
parente88814a27492c41791bf2a10cd452340b54b66e5 (diff)
downloadmicropython-5874c1c92baac65834c4684e913ca0a7d8db8f50.tar.gz
micropython-5874c1c92baac65834c4684e913ca0a7d8db8f50.zip
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/modpyb.c')
-rw-r--r--stmhal/modpyb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/stmhal/modpyb.c b/stmhal/modpyb.c
index 2f53bb5234..6ffc92553a 100644
--- a/stmhal/modpyb.c
+++ b/stmhal/modpyb.c
@@ -82,9 +82,9 @@ STATIC mp_obj_t pyb_info(uint n_args, const mp_obj_t *args) {
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);
}
// free space on flash