diff --git a/rp235x-hal/src/rom_data.rs b/rp235x-hal/src/rom_data.rs index e0bc7cb83..3cd7b55c9 100644 --- a/rp235x-hal/src/rom_data.rs +++ b/rp235x-hal/src/rom_data.rs @@ -586,8 +586,7 @@ pub mod sys_info_api { if result < 0 { return Err(BootRomApiErrorCode::from(result)); - } - else if buffer[0] == 0 { + } else if buffer[0] == 0 { // The operation returned successfully but the flag wasn't supported // for one reason or another return Ok(None);