Jelajahi Sumber

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.
taco 8 bulan lalu
induk
melakukan
dde9b7cc76

+ 0 - 2
variants/minewsemi_me25ls01/MinewsemiME25LS01Board.cpp

@@ -11,8 +11,6 @@ void MinewsemiME25LS01Board::begin() {
   
   pinMode(PIN_VBAT_READ, INPUT);
 
-  sd_power_mode_set(NRF_POWER_MODE_LOWPWR);
-
 #ifdef BUTTON_PIN
   pinMode(BUTTON_PIN, INPUT);
   pinMode(LED_PIN, OUTPUT);

+ 0 - 1
variants/wio_wm1110/WioWM1110Board.cpp

@@ -23,7 +23,6 @@ static void disconnect_callback(uint16_t conn_handle, uint8_t reason) {
 void WioWM1110Board::begin() {
   startup_reason = BD_STARTUP_NORMAL;
 
-  sd_power_mode_set(NRF_POWER_MODE_LOWPWR);
   NRF_POWER->DCDCEN = 1;
 
   pinMode(BATTERY_PIN, INPUT);