Skip to content

Commit c54eaee

Browse files
authored
Merge pull request #957 from iwanders/pico-feedback-issues-466-fix
RP2350: Fix handling of flags in BOOTSEL reboot calls.
2 parents 01eed93 + c386bfd commit c54eaee

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

rp235x-hal/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ The Minimum-Supported Rust Version (MSRV) for the next release is 1.81
1717

1818
- Update to pio 0.3.0
1919
- Update rand\_core to 0.9.3
20+
- Fix handling of flags in `RebootKind::BootSel` reboot.
2021

2122
## [0.3.0] - 2025-03-02
2223

rp235x-hal/src/reboot.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ pub fn reboot(kind: RebootKind, arch: RebootArch) -> ! {
6969
if msd_disabled {
7070
flags |= 1;
7171
}
72-
crate::rom_data::reboot(0x0002 | options, 500, 0, flags);
72+
crate::rom_data::reboot(0x0002 | options, 500, flags, 0);
7373
}
7474
RebootKind::Ram { start_addr, size } => {
7575
crate::rom_data::reboot(0x0003 | options, 500, start_addr as u32, size as u32);

0 commit comments

Comments
 (0)