diff --git a/Cargo.lock b/Cargo.lock index 203e868..ae8fe3e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1521,7 +1521,7 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64" [[package]] name = "sign-firmware" -version = "0.1.12" +version = "0.1.13" dependencies = [ "anyhow", "async-io", diff --git a/Cargo.toml b/Cargo.toml index 5c362f8..4d5f002 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sign-firmware" -version = "0.1.12" +version = "0.1.13" authors = ["Jack Hogan "] edition = "2021" license = "MIT OR Apache-2.0" diff --git a/src/printer.rs b/src/printer.rs index c33bc24..9146c8a 100644 --- a/src/printer.rs +++ b/src/printer.rs @@ -54,12 +54,12 @@ impl PrinterEvent { PrinterInstruction::PrintCut, ], PrinterEvent::NewBolt(b) => vec![ - PrinterInstruction::Text(format!("Lightning strikes! It is now bolt {b}")), + PrinterInstruction::Text(format!("Lightning strikes! It is now bolt {b:x}")), PrinterInstruction::PrintCut, ], PrinterEvent::NewZap(z) => vec![ PrinterInstruction::Text(format!( - "Did you just lick a 9V battery? It is now zap {z}" + "Did you just lick a 9V battery? It is now zap {z:x}" )), PrinterInstruction::PrintCut, ],