Skip to content

Commit aeab413

Browse files
committed
variants: RAK4631: Enable DC/DC regulator to reduce power consumption
The RAK4631/RAK4630 module are able to use the DC/DC converter. Enable it to reduce power consumption. Signed-off-by: Frieder Schrempf <[email protected]>
1 parent b024b9e commit aeab413

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

variants/rak4631/RAK4631Board.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include "RAK4631Board.h"
55

66
void RAK4631Board::begin() {
7-
NRF52Board::begin();
7+
NRF52BoardDCDC::begin();
88
pinMode(PIN_VBAT_READ, INPUT);
99
#ifdef PIN_USER_BTN
1010
pinMode(PIN_USER_BTN, INPUT_PULLUP);

variants/rak4631/RAK4631Board.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
#define PIN_VBAT_READ 5
3030
#define ADC_MULTIPLIER (3 * 1.73 * 1.187 * 1000)
3131

32-
class RAK4631Board : public NRF52BoardOTA {
32+
class RAK4631Board : public NRF52BoardDCDC, public NRF52BoardOTA {
3333
public:
3434
RAK4631Board() : NRF52BoardOTA("RAK4631_OTA") {}
3535
void begin();

0 commit comments

Comments
 (0)