mirror of
https://github.com/italicsjenga/rp-hal-boards.git
synced 2024-12-24 05:01:31 +11:00
rom: Fix type error
This commit is contained in:
parent
1848789ca3
commit
913c5fb0b2
|
@ -91,7 +91,7 @@ rom_funcs! {
|
||||||
/// Program data to a range of flash addresses starting at addr (offset from the start of flash)
|
/// Program data to a range of flash addresses starting at addr (offset from the start of flash)
|
||||||
/// and count bytesin size. addr must be aligned to a 256-byte boundary, and count must be a
|
/// and count bytesin size. addr must be aligned to a 256-byte boundary, and count must be a
|
||||||
/// multiple of 256.
|
/// multiple of 256.
|
||||||
b"RP" flash_range_program(addr: u32, data: *mut u8, count: usize) -> ();
|
b"RP" flash_range_program(addr: u32, data: *const u8, count: usize) -> ();
|
||||||
|
|
||||||
/// Flush and enable the XIP cache. Also clears the IO forcing on QSPI CSn, so that the SSI can
|
/// Flush and enable the XIP cache. Also clears the IO forcing on QSPI CSn, so that the SSI can
|
||||||
/// drive the flashchip select as normal.
|
/// drive the flashchip select as normal.
|
||||||
|
|
Loading…
Reference in a new issue