Skip to content

Commit

Permalink
move anc above touchpad informations
Browse files Browse the repository at this point in the history
  • Loading branch information
JojiiOfficial committed Oct 17, 2020
1 parent eafae68 commit 379a956
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/cmd/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@ pub fn show(sc: &mut SocketClient, app: &ArgMatches) {
}

println!("Equalizer:\t{:?}", res.equalizer_type);
println!("Touchpads:\t{}", {
if res.touchpads_blocked {
"Blocked"
} else {
"Enabled"
}
});
println!("ANC:\t\t{}", {
if res.noise_reduction {
"Enabled"
} else {
"Disabled"
}
});

println!("Touchpads:\t{}", {
if res.touchpads_blocked {
"Blocked"
} else {
"Enabled"
}
});
println!("Left option:\t{:?}", res.touchpad_option_left);
println!("Right option:\t{:?}", res.touchpad_option_right);

}

fn get_bt_device_name<S: AsRef<str>>(dev_addr: S) -> Option<String> {
Expand Down

0 comments on commit 379a956

Please sign in to comment.