mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2026-01-01 01:41:18 +01:00
tests/sizeof_tcb: fix printf format to work on arduino
arduino-uno and arduino-mega2560 do not support the '%-*s' option.
This commit is contained in:
parent
4f1206c1c5
commit
23eefa3408
@ -23,7 +23,7 @@
|
||||
|
||||
#include "thread.h"
|
||||
|
||||
#define P(NAME) printf("\t%-*s%4u%4u\n", 11, #NAME, \
|
||||
#define P(NAME) printf("\t%-11s%4u%4u\n", #NAME, \
|
||||
(unsigned)sizeof(((thread_t *) 0)->NAME), \
|
||||
(unsigned)offsetof(thread_t, NAME));
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user