mirror of
https://github.com/espressif/openthread.git
synced 2026-08-09 04:07:47 +00:00
[style] relocate OT_UNUSED_VARIABLE (#3299)
This commit is contained in:
@@ -124,6 +124,7 @@ OT_TOOL_WEAK
|
||||
otError otPlatDebugUart_logfile(const char *filename)
|
||||
{
|
||||
OT_UNUSED_VARIABLE(filename);
|
||||
|
||||
return OT_ERROR_FAILED;
|
||||
}
|
||||
|
||||
@@ -131,12 +132,12 @@ otError otPlatDebugUart_logfile(const char *filename)
|
||||
/* this should not be a WEAK function */
|
||||
void otPlatLog(otLogLevel aLogLevel, otLogRegion aLogRegion, const char *aFormat, ...)
|
||||
{
|
||||
va_list ap;
|
||||
uint32_t now;
|
||||
|
||||
OT_UNUSED_VARIABLE(aLogLevel);
|
||||
OT_UNUSED_VARIABLE(aLogRegion);
|
||||
|
||||
va_list ap;
|
||||
uint32_t now;
|
||||
|
||||
now = otPlatAlarmMilliGetNow();
|
||||
otPlatDebugUart_printf("%3d.%03d | ", (int)(now / 1000), (int)(now % 1000));
|
||||
va_start(ap, aFormat);
|
||||
|
||||
Reference in New Issue
Block a user