mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #611 from kwagyeman/kwabena/fb_alloc_all_fix
Fix fb_alloc_all bug.
This commit is contained in:
commit
12ee986ea3
@ -170,8 +170,8 @@ void *fb_alloc_all(uint32_t *size, int hints)
|
|||||||
// Return overlay memory instead.
|
// Return overlay memory instead.
|
||||||
pointer_overlay -= *size;
|
pointer_overlay -= *size;
|
||||||
result = pointer_overlay;
|
result = pointer_overlay;
|
||||||
}
|
|
||||||
*new_pointer |= FB_OVERLAY_MEMORY_FLAG; // Add flag.
|
*new_pointer |= FB_OVERLAY_MEMORY_FLAG; // Add flag.
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user