Skip to content

Commit 3c054ae

Browse files
committed
variants: Heltec T114: Enable DC/DC regulator
According to the documentation and experiments on other boards using NRF52 + SX1262 this reduces the power consumption significantly. Signed-off-by: Frieder Schrempf <frieder@fris.de>
1 parent 143939e commit 3c054ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

variants/heltec_t114/T114Board.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ static void disconnect_callback(uint16_t conn_handle, uint8_t reason) {
2121
void T114Board::begin() {
2222
// for future use, sub-classes SHOULD call this from their begin()
2323
startup_reason = BD_STARTUP_NORMAL;
24+
NRF_POWER->DCDCEN = 1;
2425

2526
pinMode(PIN_VBAT_READ, INPUT);
2627

0 commit comments

Comments
 (0)