From e06a0530b0cf2243b7f6d9212f073a1413c8c1a2 Mon Sep 17 00:00:00 2001 From: Nicolas Stalder Date: Fri, 4 Jun 2021 11:41:46 +0200 Subject: [PATCH] Use upperhex uuid in Bootloader's debug; cut release with recent changes --- Cargo.toml | 2 +- src/bootloader.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index dab7b6df..a80a3b56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "lpc55" -version = "0.1.0-alpha.5" +version = "0.1.0-alpha.6" authors = ["Nicolas Stalder "] edition = "2018" description = "Host-side tooling to interact with LPC55 chips via the ROM bootloader" diff --git a/src/bootloader.rs b/src/bootloader.rs index 26c945f1..947b6afd 100644 --- a/src/bootloader.rs +++ b/src/bootloader.rs @@ -33,8 +33,7 @@ impl core::fmt::Debug for Bootloader { f.debug_struct("Bootloader") .field("vid", &hexstr!(&self.vid.to_be_bytes())) .field("pid", &hexstr!(&self.pid.to_be_bytes())) - // .field("uuid", &hexstr!(self.uuid.to_be_bytes().as_ref())) - .field("uuid", &Uuid::from_u128(self.uuid)) + .field("uuid", &hexstr!(&self.uuid.to_be_bytes())) .finish() } }