mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
fix std-implementation for code size/offset/padding specification
This commit is contained in:
parent
6cc9e2d5f7
commit
cdf489d2b1
1 changed files with 5 additions and 1 deletions
|
|
@ -33,7 +33,11 @@ fn bio_service(clk_freq: u32) {
|
||||||
};
|
};
|
||||||
let mut config = buf.to_original::<CoreInitRkyv, _>().unwrap();
|
let mut config = buf.to_original::<CoreInitRkyv, _>().unwrap();
|
||||||
log::trace!("initing with {:x?}", config.config);
|
log::trace!("initing with {:x?}", config.config);
|
||||||
match bio_ss.init_core(config.core, &config.code, config.offset, config.config) {
|
match bio_ss.init_core(
|
||||||
|
config.core,
|
||||||
|
(&config.code[..config.code_len], config.pad_word),
|
||||||
|
config.config,
|
||||||
|
) {
|
||||||
Ok(freq) => {
|
Ok(freq) => {
|
||||||
config.actual_freq = freq;
|
config.actual_freq = freq;
|
||||||
config.result = BioError::None;
|
config.result = BioError::None;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue