mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Add 60s watchdog for nrf52
In order to restore after battery voltage sags too low
This commit is contained in:
parent
fb726e48c2
commit
f46f822bfc
14 changed files with 128 additions and 9 deletions
|
|
@ -7,7 +7,9 @@
|
|||
const PowerMgtConfig power_config = {
|
||||
.lpcomp_ain_channel = PWRMGT_LPCOMP_AIN,
|
||||
.lpcomp_refsel = PWRMGT_LPCOMP_REFSEL,
|
||||
.voltage_bootlock = PWRMGT_VOLTAGE_BOOTLOCK
|
||||
.voltage_bootlock = PWRMGT_VOLTAGE_BOOTLOCK,
|
||||
.voltage_runtime = PWRMGT_VOLTAGE_BOOTLOCK - 200,
|
||||
.wdt_timeout_ms = 60000
|
||||
};
|
||||
|
||||
void SenseCapSolarBoard::initiateShutdown(uint8_t reason) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue