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

View File

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