mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Move flag setting inside the curly braces.
This commit is contained in:
parent
4fbab0cf03
commit
c20efaba54
@ -170,8 +170,8 @@ void *fb_alloc_all(uint32_t *size, int hints)
|
||||
// Return overlay memory instead.
|
||||
pointer_overlay -= *size;
|
||||
result = pointer_overlay;
|
||||
*new_pointer |= FB_OVERLAY_MEMORY_FLAG; // Add flag.
|
||||
}
|
||||
*new_pointer |= FB_OVERLAY_MEMORY_FLAG; // Add flag.
|
||||
#endif
|
||||
return result;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user