sforkowany z mirror/meshtastic-firmware
print RF52 reset reason
rodzic
cda7487cbe
commit
66b11bcbd7
|
@ -67,6 +67,10 @@ PmuBQ25703A pmu;
|
|||
|
||||
void nrf52Setup()
|
||||
{
|
||||
|
||||
auto why = NRF_POWER->RESETREAS;
|
||||
DEBUG_MSG("Reset reason: 0x%x\n", why);
|
||||
|
||||
// Not yet on board
|
||||
// pmu.init();
|
||||
DEBUG_MSG("FIXME, need to call randomSeed on nrf52!\n");
|
||||
|
|
Ładowanie…
Reference in New Issue