Merge branch 'fluke/fixup' into next

This commit is contained in:
Luke D Jones
2020-09-10 21:58:11 +12:00
5 changed files with 9 additions and 4 deletions

View File

@@ -5,6 +5,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
# [1.1.1] - 2020-09-10
### Changed
- Correction to AMD turbo setting
# [1.1.0] - 2020-09-10
### Changed
- Uses string instead of debug print for some errors

2
Cargo.lock generated
View File

@@ -31,7 +31,7 @@ dependencies = [
[[package]]
name = "asus-nb-ctrl"
version = "1.1.0"
version = "1.1.1"
dependencies = [
"asus-nb",
"async-trait",

View File

@@ -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>"]

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};