Skip to content

Commit 1c4c995

Browse files
committed
Fix low power consumption issues
1 parent d2d3d44 commit 1c4c995

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

variants/heltec_tower_v2/variant.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ void variant_shutdown()
2525
nrf_gpio_cfg_default(PIN_GPS_STANDBY);
2626
nrf_gpio_cfg_default(GPS_RX_PIN);
2727
nrf_gpio_cfg_default(GPS_TX_PIN);
28+
pinMode(LORA_KCT8103L_EN, OUTPUT);
29+
digitalWrite(LORA_KCT8103L_EN, LOW);
2830
nrf_gpio_cfg_default(LORA_KCT8103L_TX_RX);
2931
nrf_gpio_cfg_default(RF_PA_DETECT_PIN);
3032
nrf_gpio_cfg_default(SX126X_CS);

0 commit comments

Comments
 (0)