mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Fix AMD turbo setting
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "asus-nb-ctrl"
|
||||
version = "1.1.0"
|
||||
version = "1.1.1"
|
||||
license = "MPL-2.0"
|
||||
readme = "README.md"
|
||||
authors = ["Luke <luke@ljones.dev>"]
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user