diff --git a/libs/bao1x-api/src/lib.rs b/libs/bao1x-api/src/lib.rs index a9b96d444..66cc5eb4e 100644 --- a/libs/bao1x-api/src/lib.rs +++ b/libs/bao1x-api/src/lib.rs @@ -83,9 +83,10 @@ pub struct StaticsInRom { pub data_size_bytes: u32, // poke table of values to stick in the data segment. This is needed in particular // to initialize `static` variables, such as Atomics and Mutexes, required by the - // loader environment. Presented as (address, data) tuples, up to 30 of them. + // loader environment. Presented as (address, data) tuples, up to 40 of them. // Only entries from [0..valid_pokes] are processed. - pub poke_table: [(u32, u32); 30], + // The addresses and data are packed as u8's to avoid padding of the record. + pub poke_table: [([u8; 2], [u8; 4]); 40], } impl StaticsInRom {