Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
f27e468caThis file is pinned to the selected release. Download the original to open it in your design tool.
#include "Hal/Board.hpp"
namespace Espfc::Hal {
bool isUnexpectedReset(ResetReason reason)
{
switch (reason)
{
case ResetReason::SOFTWARE:
case ResetReason::WATCHDOG:
case ResetReason::PANIC:
return true;
default:
return false;
}
}
} // namespace Espfc::Hal