Skip to content

Commit

Permalink
[simulation] remove example log lines from otPlatLogCrashDump() (#1…
Browse files Browse the repository at this point in the history
…0137)

This commit removes the `LogCrit` example lines emitted from
`otPlatLogCrashDump()` in simulation platform. These extra log
lines can cause test failures.
  • Loading branch information
abtink authored May 2, 2024
1 parent f404a22 commit b8f036a
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions examples/platforms/simulation/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit b8f036a

Please sign in to comment.