mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
remove calls to sd_power_mode_set(NRF_POWER_MODE_LOWPWR);
this is the default mode, there is no need to call it unless previously changing it.
This commit is contained in:
parent
0082149c60
commit
dde9b7cc76
2 changed files with 0 additions and 3 deletions
|
|
@ -11,8 +11,6 @@ void MinewsemiME25LS01Board::begin() {
|
||||||
|
|
||||||
pinMode(PIN_VBAT_READ, INPUT);
|
pinMode(PIN_VBAT_READ, INPUT);
|
||||||
|
|
||||||
sd_power_mode_set(NRF_POWER_MODE_LOWPWR);
|
|
||||||
|
|
||||||
#ifdef BUTTON_PIN
|
#ifdef BUTTON_PIN
|
||||||
pinMode(BUTTON_PIN, INPUT);
|
pinMode(BUTTON_PIN, INPUT);
|
||||||
pinMode(LED_PIN, OUTPUT);
|
pinMode(LED_PIN, OUTPUT);
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,6 @@ static void disconnect_callback(uint16_t conn_handle, uint8_t reason) {
|
||||||
void WioWM1110Board::begin() {
|
void WioWM1110Board::begin() {
|
||||||
startup_reason = BD_STARTUP_NORMAL;
|
startup_reason = BD_STARTUP_NORMAL;
|
||||||
|
|
||||||
sd_power_mode_set(NRF_POWER_MODE_LOWPWR);
|
|
||||||
NRF_POWER->DCDCEN = 1;
|
NRF_POWER->DCDCEN = 1;
|
||||||
|
|
||||||
pinMode(BATTERY_PIN, INPUT);
|
pinMode(BATTERY_PIN, INPUT);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue