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 592c1f2 commit 88b8873
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions rp235x-hal/src/rom_data.rs
Original file line number Diff line number Diff line change
Expand Up @@ -622,10 +622,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 {
} 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 88b8873

Please sign in to comment.