From b8f036a5708ec8a2cd40efcbf76d75fa5aecf9d1 Mon Sep 17 00:00:00 2001 From: Abtin Keshavarzian Date: Thu, 2 May 2024 12:02:10 -0700 Subject: [PATCH] [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. --- examples/platforms/simulation/misc.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/examples/platforms/simulation/misc.c b/examples/platforms/simulation/misc.c index a6d73370c..bf8993b76 100644 --- a/examples/platforms/simulation/misc.c +++ b/examples/platforms/simulation/misc.c @@ -111,11 +111,5 @@ otPlatMcuPowerState otPlatGetMcuPowerState(otInstance *aInstance) } #if OPENTHREAD_CONFIG_PLATFORM_LOG_CRASH_DUMP_ENABLE -otError otPlatLogCrashDump(void) -{ - otLogCritPlat("LOGGING SIMULATED CRASH DUMP"); - otLogCritPlat("Reset Reason: %d", sPlatResetReason); - - return OT_ERROR_NONE; -} +otError otPlatLogCrashDump(void) { return OT_ERROR_NONE; } #endif