mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-01 22:20:58 +00:00
fix memory pool (generation)
This commit is contained in:
parent
280ef8cfb9
commit
613e74c01b
@ -29,7 +29,8 @@ void * btstack_memory_STRUCT_NAME_get(void){
|
|||||||
void btstack_memory_STRUCT_NAME_free(void *STRUCT_NAME){
|
void btstack_memory_STRUCT_NAME_free(void *STRUCT_NAME){
|
||||||
free(STRUCT_NAME);
|
free(STRUCT_NAME);
|
||||||
}
|
}
|
||||||
#else error "The struct STRUCT_NAME has neither HAVE_MALLOC nor POOL_COUNT defined. Please, edit the config file."
|
#else
|
||||||
|
#error "The struct STRUCT_NAME has neither HAVE_MALLOC nor POOL_COUNT defined. Please, edit the config file."
|
||||||
#endif
|
#endif
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user