[Libnx] Changed PSM Defines
This commit is contained in:
parent
ac8a977492
commit
991b43d4ee
|
@ -790,7 +790,7 @@ static enum frontend_powerstate
|
|||
frontend_switch_get_powerstate(int *seconds, int *percent)
|
||||
{
|
||||
uint32_t pct;
|
||||
ChargerType ct;
|
||||
PsmChargerType ct;
|
||||
Result rc;
|
||||
if (!psmInitialized)
|
||||
return FRONTEND_POWERSTATE_NONE;
|
||||
|
@ -810,8 +810,8 @@ frontend_switch_get_powerstate(int *seconds, int *percent)
|
|||
|
||||
switch (ct)
|
||||
{
|
||||
case ChargerType_Charger:
|
||||
case ChargerType_Usb:
|
||||
case PsmChargerType_EnoughPower:
|
||||
case PsmChargerType_LowPower:
|
||||
return FRONTEND_POWERSTATE_CHARGING;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue