Update TTGO_T-Beam_LoRa_APRS.ino

This commit is contained in:
Rysiek Labus 2021-02-27 22:53:46 +01:00
parent 45efe43f02
commit 73a57d4cd3
1 changed files with 2 additions and 2 deletions

View File

@ -471,8 +471,8 @@ void setup(){
Wire.begin(I2C_SDA, I2C_SCL);
#ifdef T_BEAM_V1_0
//if (!axp.begin(Wire, AXP192_SLAVE_ADDRESS)) {
//}
if (!axp.begin(Wire, AXP192_SLAVE_ADDRESS)) {
}
axp.setPowerOutPut(AXP192_LDO2, AXP202_ON);
axp.setPowerOutPut(AXP192_LDO3, AXP202_ON); // switch on GPS
axp.setPowerOutPut(AXP192_DCDC2, AXP202_ON);