Cleanup Poweroff for NRF52 boards

This commit is contained in:
Kevin Le
2026-07-05 22:10:47 +07:00
parent 7d7de88707
commit eec75eab31
25 changed files with 27 additions and 76 deletions
@@ -47,7 +47,7 @@ public:
uint32_t button_pin = PIN_BUTTON1;
nrf_gpio_cfg_input(button_pin, NRF_GPIO_PIN_PULLUP);
nrf_gpio_cfg_sense_set(button_pin, NRF_GPIO_PIN_SENSE_LOW);
sd_power_system_off();
NRF52Board::powerOff();
}
};