esp32_spiram.c: Remove esp_himem_reserved_area_size from esp32_spiram.c
file. This function is already defined in esp_himem and is used only when that file is built. We don't need another weak function. Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
parent
2834d2a46f
commit
3d8a6fb676
@ -77,16 +77,6 @@ static bool spiram_inited = false;
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
||||
/* If no function in esp_himem.c is used, this function will be linked into
|
||||
* the binary instead of the one in esp_himem.c, automatically making sure
|
||||
* no memory is reserved if no himem function is used.
|
||||
*/
|
||||
|
||||
size_t weak_function esp_himem_reserved_area_size(void)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
|
Loading…
Reference in New Issue
Block a user