Skip to content

Commit 83d342e

Browse files
Use hex fmt for command debug print (#735)
1 parent 3c56608 commit 83d342e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

espflash/src/connection/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ impl Connection {
402402

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

0 commit comments

Comments
 (0)