Set NRF cpu brownout at 2.4V instead of running down to the limit (#3016)

This commit is contained in:
Ben Meadors 2023-12-16 06:57:01 -06:00 committed by GitHub
parent c6ae66dcaa
commit 1c6acfd734
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -51,7 +51,7 @@ void getMacAddr(uint8_t *dmac)
static void initBrownout()
{
auto vccthresh = POWER_POFCON_THRESHOLD_V17;
auto vccthresh = POWER_POFCON_THRESHOLD_V24;
auto err_code = sd_power_pof_enable(POWER_POFCON_POF_Enabled);
assert(err_code == NRF_SUCCESS);