Skip to content

Commit

Permalink
Use hardcoded value instead of size_of vector_table for memcpy
Browse files Browse the repository at this point in the history
  • Loading branch information
9names committed Jul 20, 2022
1 parent 67905ff commit bebd009
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rp2040-hal/src/vector_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl VectorTable {
crate::rom_data::memcpy44(
&mut self.table as *mut _ as *mut u32,
vector_table as *const u32,
core::mem::size_of::<VectorTable>() as u32,
192 as u32,
)
};
}
Expand Down

0 comments on commit bebd009

Please sign in to comment.