mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 00:15:55 +08:00
Add printflike and scanflike to all printf/scanf like functions
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
2721e01fc2
commit
2166c98809
@@ -97,10 +97,10 @@ void usbtrace_trprintf(trprintf_t trprintf, uint16_t event, uint16_t value)
|
||||
case TRACE_DEVINIT:
|
||||
#ifdef CONFIG_USBDEV_TRACE_STRINGS
|
||||
trprintf("%-18s : %-40s %04x\n", "DCD initialize",
|
||||
TRACE_DATA(event), "Initialized", value);
|
||||
"Initialized", value);
|
||||
#else
|
||||
trprintf("%-18s : %04x\n", "DCD initialize",
|
||||
TRACE_DATA(event), value);
|
||||
value);
|
||||
#endif
|
||||
break;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user