mirror of
https://github.com/switchbrew/switch-examples.git
synced 2025-06-21 05:12:40 +02:00
ChargerType -> PsmChargerType
This commit is contained in:
parent
e423a0ab0e
commit
5980937bdf
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user