mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-26 01:52:48 +00:00
print RF52 reset reason
This commit is contained in:
parent
cda7487cbe
commit
66b11bcbd7
@ -67,6 +67,10 @@ PmuBQ25703A pmu;
|
|||||||
|
|
||||||
void nrf52Setup()
|
void nrf52Setup()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
auto why = NRF_POWER->RESETREAS;
|
||||||
|
DEBUG_MSG("Reset reason: 0x%x\n", why);
|
||||||
|
|
||||||
// Not yet on board
|
// Not yet on board
|
||||||
// pmu.init();
|
// pmu.init();
|
||||||
DEBUG_MSG("FIXME, need to call randomSeed on nrf52!\n");
|
DEBUG_MSG("FIXME, need to call randomSeed on nrf52!\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user