From b955746ce2d4346c7ff23d01496399ef39fc6063 Mon Sep 17 00:00:00 2001 From: Jonathan 'theJPster' Pallant Date: Sat, 23 Nov 2024 18:59:25 +0000 Subject: [PATCH] Update rp235x-hal/src/rom_data.rs --- rp235x-hal/src/rom_data.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rp235x-hal/src/rom_data.rs b/rp235x-hal/src/rom_data.rs index 7d85e4daf..e0bc7cb83 100644 --- a/rp235x-hal/src/rom_data.rs +++ b/rp235x-hal/src/rom_data.rs @@ -587,9 +587,9 @@ pub mod sys_info_api { if result < 0 { return Err(BootRomApiErrorCode::from(result)); } - // The operation returned successfully but the flag wasn't supported - // for one reason or another else if buffer[0] == 0 { + // The operation returned successfully but the flag wasn't supported + // for one reason or another return Ok(None); }