mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Use special version of nlr_raise again.
This commit is contained in:
parent
39e8ee73fc
commit
1748000e4d
@ -1 +1 @@
|
||||
Subproject commit cc69b65d7e2e15af3d4e7e4640c2b8c004a11987
|
||||
Subproject commit 2722bf352936d2984444a6efaecb67e210404547
|
||||
@ -36,7 +36,7 @@ void fb_alloc_mark()
|
||||
|
||||
// Check if allocation overwrites the framebuffer pixels
|
||||
if (new_pointer < (char *) MAIN_FB_PIXELS()) {
|
||||
nlr_raise(mp_obj_new_exception_msg(&mp_type_MemoryError, "FB Alloc Collision!!!"));
|
||||
nlr_raise_for_fb_alloc_mark(mp_obj_new_exception_msg(&mp_type_MemoryError, "FB Alloc Collision!!!"));
|
||||
}
|
||||
|
||||
// fb_alloc does not allow regions which are a size of 0 to be alloced,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user