Skip to content

Commit

Permalink
Update rp235x-hal/src/rom_data.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
thejpster authored Nov 23, 2024
1 parent b955746 commit 1365e40
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions rp235x-hal/src/rom_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1365e40

Please sign in to comment.