mirror of https://github.com/meshcore-dev/MeshCore
Browse Source
Fixed hibernate / poweroff for BLE companions and repeaters to stay at uApull/2835/merge
committed by
GitHub
55 changed files with 156 additions and 496 deletions
@ -0,0 +1,15 @@ |
|||
#include "StationG3Board.h" |
|||
|
|||
void StationG3Board::powerOff() { |
|||
#ifdef P_PA1_EN |
|||
setPAModeHigh(false); |
|||
rtc_gpio_hold_en((gpio_num_t)P_PA1_EN); |
|||
#endif |
|||
|
|||
#ifdef P_PRIMARY_LNA_EN |
|||
setPrimaryLNAControl(true); |
|||
rtc_gpio_hold_en((gpio_num_t)P_PRIMARY_LNA_EN); |
|||
#endif |
|||
|
|||
ESP32Board::powerOff(); |
|||
} |
|||
Loading…
Reference in new issue