Chore: complete the switch back to stable

This commit is contained in:
Denis Benato
2025-10-23 14:50:40 +02:00
parent 180566e5f1
commit 132a2f3665
8 changed files with 646 additions and 668 deletions

View File

@@ -21,11 +21,14 @@ fn main() {
let brightness = args[2].parse::<f32>().unwrap();
let anime_type = get_anime_type();
let mut seq = Sequences::new(anime_type);
seq.insert(0, &ActionLoader::AsusAnimation {
file: path.into(),
time: rog_anime::AnimTime::Infinite,
brightness,
})
seq.insert(
0,
&ActionLoader::AsusAnimation {
file: path.into(),
time: rog_anime::AnimTime::Infinite,
brightness,
},
)
.unwrap();
loop {

View File

@@ -1173,7 +1173,7 @@ fn handle_armoury_command(cmd: &ArmouryCommand) -> Result<(), Box<dyn std::error
{
if cmd.free.is_empty() || !cmd.free.len().is_multiple_of(2) || cmd.help {
const USAGE: &str = "Usage: asusctl platform panel_overdrive 1 nv_dynamic_boost 5";
if !cmd.free.len().is_multiple_of(2) {
if !(cmd.free.len() % 2 == 0) {
println!(
"Incorrect number of args, each attribute label must be paired with a setting:"
);