mirror of
https://github.com/reactos/reactos.git
synced 2025-05-11 13:27:47 +00:00
[POWRPROF]
- Fix a warning svn path=/trunk/; revision=61100
This commit is contained in:
parent
1485fd938e
commit
dcf715c76b
1 changed files with 2 additions and 2 deletions
|
@ -920,8 +920,8 @@ ValidatePowerPolicies(PGLOBAL_POWER_POLICY pGPP, PPOWER_POLICY pPP)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
//Lohnegrim: The BroadcastCapacityResolution presents the Powerlevel in Percent, if invalid set th 100 == FULL
|
//Lohnegrim: The BroadcastCapacityResolution presents the Powerlevel in Percent, if invalid set th 100 == FULL
|
||||||
if ((pGPP->mach.BroadcastCapacityResolution < 0) || (pGPP->mach.BroadcastCapacityResolution > 100))
|
if (pGPP->mach.BroadcastCapacityResolution > 100)
|
||||||
pGPP->mach.BroadcastCapacityResolution=100;
|
pGPP->mach.BroadcastCapacityResolution = 100;
|
||||||
|
|
||||||
//Lohnegrim: I have no idear, if they are realy needed, or if they are spezific for my System, or what they mean, so i removed them
|
//Lohnegrim: I have no idear, if they are realy needed, or if they are spezific for my System, or what they mean, so i removed them
|
||||||
//pGPP->user.DischargePolicy[1].PowerPolicy.EventCode = pGPP->user.DischargePolicy[1].PowerPolicy.EventCode | 0x010000;
|
//pGPP->user.DischargePolicy[1].PowerPolicy.EventCode = pGPP->user.DischargePolicy[1].PowerPolicy.EventCode | 0x010000;
|
||||||
|
|
Loading…
Reference in a new issue