mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
track change in statics struct
This commit is contained in:
parent
76f6f1fda5
commit
a6769c46ba
1 changed files with 3 additions and 1 deletions
|
|
@ -84,7 +84,9 @@ pub fn early_init() {
|
|||
data_ptr.add(i).write_volatile(0);
|
||||
}
|
||||
for &(offset, data) in &statics_in_rom.poke_table[..statics_in_rom.valid_pokes as usize] {
|
||||
data_ptr.add(offset as usize).write_volatile(data);
|
||||
data_ptr
|
||||
.add(u16::from_le_bytes(offset) as usize / size_of::<u32>())
|
||||
.write_volatile(u32::from_le_bytes(data));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue