mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 08:12:30 +00:00
Fix commented out code
This commit is contained in:
parent
4c07c356e4
commit
e75903138a
@ -627,7 +627,7 @@ mod ram_helpers {
|
|||||||
#[link_section = ".data.ram_func"]
|
#[link_section = ".data.ram_func"]
|
||||||
#[cfg(feature = "rp2040")]
|
#[cfg(feature = "rp2040")]
|
||||||
unsafe fn write_flash_inner(addr: u32, len: u32, data: Option<&[u8]>, ptrs: *const FlashFunctionPointers) {
|
unsafe fn write_flash_inner(addr: u32, len: u32, data: Option<&[u8]>, ptrs: *const FlashFunctionPointers) {
|
||||||
//#[cfg(target_arch = "arm")]
|
#[cfg(target_arch = "arm")]
|
||||||
core::arch::asm!(
|
core::arch::asm!(
|
||||||
"mov r8, r0",
|
"mov r8, r0",
|
||||||
"mov r9, r2",
|
"mov r9, r2",
|
||||||
|
Loading…
Reference in New Issue
Block a user