mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
fix allocation bug for ifram
This commit is contained in:
parent
a8012a6e01
commit
5a8d5a8de5
1 changed files with 1 additions and 1 deletions
|
|
@ -96,10 +96,10 @@ fn try_alloc(ifram_allocs: &mut Vec<Option<Sender>>, size: usize, sender: Sender
|
||||||
} else {
|
} else {
|
||||||
if free_start.is_some() {
|
if free_start.is_some() {
|
||||||
log::trace!("Adding unallocated page at {} to length", index);
|
log::trace!("Adding unallocated page at {} to length", index);
|
||||||
found_len += 1;
|
|
||||||
if found_len >= size_pages {
|
if found_len >= size_pages {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
found_len += 1;
|
||||||
} else {
|
} else {
|
||||||
log::trace!("Starting allocation search at {}", index);
|
log::trace!("Starting allocation search at {}", index);
|
||||||
free_start = Some(index);
|
free_start = Some(index);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue