Browse Source

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 <[email protected]>
pull/1122/head
Frieder Schrempf 6 months ago
parent
commit
7723a4cb34
No known key found for this signature in database GPG Key ID: E7DD51F45F833802
  1. 1
      variants/heltec_t114/T114Board.cpp

1
variants/heltec_t114/T114Board.cpp

@ -21,6 +21,7 @@ static void disconnect_callback(uint16_t conn_handle, uint8_t reason) {
void T114Board::begin() {
// for future use, sub-classes SHOULD call this from their begin()
startup_reason = BD_STARTUP_NORMAL;
NRF_POWER->DCDCEN = 1;
pinMode(PIN_VBAT_READ, INPUT);

Loading…
Cancel
Save