Merge pull request #81 from mkj/powersave-none
Fix PowerManagementMode::None
This commit is contained in:
commit
7cfce05bd2
@ -198,6 +198,7 @@ impl PowerManagementMode {
|
|||||||
fn mode(&self) -> u32 {
|
fn mode(&self) -> u32 {
|
||||||
match self {
|
match self {
|
||||||
PowerManagementMode::ThroughputThrottling => 1,
|
PowerManagementMode::ThroughputThrottling => 1,
|
||||||
|
PowerManagementMode::None => 0,
|
||||||
_ => 2,
|
_ => 2,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user