add weather widget preview
This commit is contained in:
@@ -26,7 +26,7 @@ void pmu_setup( TTGOClass *ttgo ) {
|
||||
// enable coulumb counter
|
||||
if ( ttgo->power->EnableCoulombcounter() )
|
||||
Serial.printf("enable coulumb counter failed!\r\n");
|
||||
if ( ttgo->power->setChargingTargetVoltage( AXP202_TARGET_VOL_4_36V ) )
|
||||
if ( ttgo->power->setChargingTargetVoltage( AXP202_TARGET_VOL_4_2V ) )
|
||||
Serial.printf("target voltage set failed!\r\n");
|
||||
if ( ttgo->power->setChargeControlCur( 300 ) )
|
||||
Serial.printf("charge current set failed!\r\n");
|
||||
|
||||
Reference in New Issue
Block a user