Fix AMD turbo setting

This commit is contained in:
Luke D Jones
2020-09-10 21:56:22 +12:00
parent cddff32757
commit 84d056f2ed
5 changed files with 9 additions and 4 deletions

View File

@@ -262,7 +262,7 @@ impl CtrlFanAndCPU {
err
})?;
let boost = if mode_config.turbo { "0" } else { "1" }; // opposite of Intel
let boost = if mode_config.turbo { "1" } else { "0" }; // opposite of Intel
file.write_all(boost.as_bytes())
.unwrap_or_else(|err| error!("Could not write to {}, {}", AMD_BOOST_PATH, err));
info!("AMD CPU Turbo: {}", boost);

View File

@@ -23,7 +23,7 @@ use std::sync::Arc;
use tokio::sync::{mpsc::Receiver, Mutex};
use tokio::task::JoinHandle;
pub static VERSION: &str = "1.1.0";
pub static VERSION: &str = "1.1.1";
use ::dbus::{nonblock::SyncConnection, tree::Signal};