mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-10-06 16:57:34 +00:00
dereference gc_wait
This commit is contained in:
parent
bc26f42992
commit
04ccf215e4
@ -552,7 +552,7 @@ reserve(const char *name, coffee_page_t pages, int allow_duplicates)
|
|||||||
page = find_contiguous_pages(pages);
|
page = find_contiguous_pages(pages);
|
||||||
if(page == INVALID_PAGE) {
|
if(page == INVALID_PAGE) {
|
||||||
watchdog_start();
|
watchdog_start();
|
||||||
gc_wait = 1;
|
*gc_wait = 1;
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user