Skip to content

Commit

Permalink
legacy: fix USB status display bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Tawerner authored and svenrademakers committed Nov 14, 2024
1 parent 3c43950 commit fc4cf20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/legacy_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -707,7 +707,7 @@ fn print_usb_status(map: &serde_json::Value) -> anyhow::Result<()> {

println!("{:^12}-->{:^12}", "USB Host", "USB Device");

let (host, device) = if mode == "Host" {
let (host, device) = if mode == "host" {
(node, route)
} else {
(route, node)
Expand Down

0 comments on commit fc4cf20

Please sign in to comment.