Fix formatting of sector erase log

This commit is contained in:
Rasmus Melchior Jacobsen 2023-04-03 08:02:43 +02:00
parent 5504fc54fe
commit bfebf7a436

View file

@ -117,7 +117,7 @@ unsafe fn blocking_erase(base: u32, from: u32, to: u32) -> Result<(), Error> {
let mut address = start_address; let mut address = start_address;
while address < end_address { while address < end_address {
let sector = get_sector(address, regions); let sector = get_sector(address, regions);
trace!("Erasing sector: {}", sector); trace!("Erasing sector: {:?}", sector);
critical_section::with(|_| { critical_section::with(|_| {
family::clear_all_err(); family::clear_all_err();