Merge pull request #81 from mkj/powersave-none

Fix PowerManagementMode::None
This commit is contained in:
Dario Nieuwenhuis 2023-05-14 15:26:48 +00:00 committed by GitHub
commit 7cfce05bd2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -198,6 +198,7 @@ impl PowerManagementMode {
fn mode(&self) -> u32 {
match self {
PowerManagementMode::ThroughputThrottling => 1,
PowerManagementMode::None => 0,
_ => 2,
}
}