aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 4a9ada90f..fd11f3674 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -198,6 +198,7 @@ impl PowerManagementMode {
198 fn mode(&self) -> u32 { 198 fn mode(&self) -> u32 {
199 match self { 199 match self {
200 PowerManagementMode::ThroughputThrottling => 1, 200 PowerManagementMode::ThroughputThrottling => 1,
201 PowerManagementMode::None => 0,
201 _ => 2, 202 _ => 2,
202 } 203 }
203 } 204 }