mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 12:10:59 +00:00
heap: replace usage of bzero() with memset() across the component
See https://github.com/espressif/esp-idf/issues/5095
This commit is contained in:
@@ -159,7 +159,7 @@ size_t heap_caps_get_largest_free_block( uint32_t caps )
|
||||
|
||||
void heap_caps_get_info( multi_heap_info_t *info, uint32_t caps )
|
||||
{
|
||||
bzero(info, sizeof(multi_heap_info_t));
|
||||
memset(info, 0, sizeof(multi_heap_info_t));
|
||||
}
|
||||
|
||||
void heap_caps_print_heap_info( uint32_t caps )
|
||||
|
Reference in New Issue
Block a user