mirror of
https://github.com/espressif/openthread.git
synced 2026-09-04 16:20:05 +00:00
[simulation] remove example log lines from otPlatLogCrashDump() (#10137)
This commit removes the `LogCrit` example lines emitted from `otPlatLogCrashDump()` in simulation platform. These extra log lines can cause test failures.
This commit is contained in:
@@ -111,11 +111,5 @@ otPlatMcuPowerState otPlatGetMcuPowerState(otInstance *aInstance)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if OPENTHREAD_CONFIG_PLATFORM_LOG_CRASH_DUMP_ENABLE
|
#if OPENTHREAD_CONFIG_PLATFORM_LOG_CRASH_DUMP_ENABLE
|
||||||
otError otPlatLogCrashDump(void)
|
otError otPlatLogCrashDump(void) { return OT_ERROR_NONE; }
|
||||||
{
|
|
||||||
otLogCritPlat("LOGGING SIMULATED CRASH DUMP");
|
|
||||||
otLogCritPlat("Reset Reason: %d", sPlatResetReason);
|
|
||||||
|
|
||||||
return OT_ERROR_NONE;
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user