mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
dont use report_api inside the generation macro - just for debugging
This commit is contained in:
parent
9fe1933611
commit
23f2b117ab
1 changed files with 2 additions and 0 deletions
|
|
@ -134,10 +134,12 @@ macro_rules! bio_code {
|
|||
static $name_start: *const u8;
|
||||
static $name_end: *const u8;
|
||||
}
|
||||
/*
|
||||
unsafe {
|
||||
report_api($name_start as u32);
|
||||
report_api($name_end as u32);
|
||||
}
|
||||
*/
|
||||
// skip the first 4 bytes, as they contain the loading offset
|
||||
unsafe { core::slice::from_raw_parts($name_start.add(4), ($name_end as usize) - ($name_start as usize) - 4)}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue