diff options
author | stijn <stijn@ignitron.net> | 2020-04-16 09:13:57 +0200 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2020-04-23 11:24:25 +1000 |
commit | 84fa3312cfa7d2237d4b56952f2cd6e3591210c4 (patch) | |
tree | dc2b3e67bad9969fc5792ca0822798d58addf174 /py/gc.c | |
parent | d6243568a05d423b58522435c3779975acbf56dd (diff) | |
download | micropython-84fa3312cfa7d2237d4b56952f2cd6e3591210c4.tar.gz micropython-84fa3312cfa7d2237d4b56952f2cd6e3591210c4.zip |
all: Format code to add space after C++-style comment start.
Note: the uncrustify configuration is explicitly set to 'add' instead of
'force' in order not to alter the comments which use extra spaces after //
as a means of indenting text for clarity.
Diffstat (limited to 'py/gc.c')
-rw-r--r-- | py/gc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -834,7 +834,7 @@ void gc_dump_alloc_table(void) { } // print header for new line of blocks // (the cast to uint32_t is for 16-bit ports) - //mp_printf(&mp_plat_print, "\n%05x: ", (uint)(PTR_FROM_BLOCK(bl) & (uint32_t)0xfffff)); + // mp_printf(&mp_plat_print, "\n%05x: ", (uint)(PTR_FROM_BLOCK(bl) & (uint32_t)0xfffff)); mp_printf(&mp_plat_print, "\n%05x: ", (uint)((bl * BYTES_PER_BLOCK) & (uint32_t)0xfffff)); } int c = ' '; @@ -956,7 +956,7 @@ void gc_test(void) { mp_uint_t *p = gc_alloc(i, false); printf("p=%p\n", p); if (i & 3) { - //ptrs[i] = p; + // ptrs[i] = p; } } |