From 83d342e54d1d6fb76830552c1f00314dab257333 Mon Sep 17 00:00:00 2001 From: wcampbell Date: Thu, 30 Jan 2025 02:09:32 -0500 Subject: [PATCH] Use hex fmt for command debug print (#735) --- espflash/src/connection/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/espflash/src/connection/mod.rs b/espflash/src/connection/mod.rs index 23d27230..76e3c077 100644 --- a/espflash/src/connection/mod.rs +++ b/espflash/src/connection/mod.rs @@ -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();