Skip to content

Commit

Permalink
Use hex fmt for command debug print (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
wcampbell0x2a authored Jan 30, 2025
1 parent 3c56608 commit 83d342e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion espflash/src/connection/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ impl Connection {

/// Write a command to the serial port
pub fn write_command(&mut self, command: Command) -> Result<(), Error> {
debug!("Writing command: {:?}", command);
debug!("Writing command: {:02x?}", command);
let mut binding = Box::new(&mut self.serial);
let serial = binding.as_mut();

Expand Down

0 comments on commit 83d342e

Please sign in to comment.