Skip to content

Commit

Permalink
main: hex usb serial
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens authored Oct 2, 2020
1 parent c8b045b commit 32852a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ const APP: () = {
let octets = settings.mac().octets;
write!(
&mut serial_string,
"{}-{}-{}-{}-{}-{}",
"{:02x}-{:02x}-{:02x}-{:02x}-{:02x}-{:02x}",
octets[0], octets[1], octets[2], octets[3], octets[4], octets[5]
)
.unwrap();
Expand Down

0 comments on commit 32852a6

Please sign in to comment.