ChargerType -> PsmChargerType

This commit is contained in:
Ben Kallus 2021-07-06 23:05:50 -04:00 committed by fincs
parent e423a0ab0e
commit 5980937bdf

View File

@ -38,7 +38,7 @@ int main(int argc, char **argv)
double rawCharge; double rawCharge;
double age; double age;
bool isEnoughPower; bool isEnoughPower;
ChargerType type; PsmChargerType type;
printf("\x1b[1;1H\x1b[K"); printf("\x1b[1;1H\x1b[K");
rc = psmGetBatteryChargePercentage(&charge); rc = psmGetBatteryChargePercentage(&charge);