mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 11:17:20 +02:00
psram: Use 8-bit type for _ext_ram_bss_start/_ext_ram_bss_end
Fixes pointer arithmetic when printing size of remaining heap
This commit is contained in:
committed by
Angus Gratton
parent
348d6d5d3f
commit
aa0d2078b7
@ -61,7 +61,7 @@ static const char* TAG = "spiram";
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY
|
#if CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY
|
||||||
extern int _ext_ram_bss_start, _ext_ram_bss_end;
|
extern uint8_t _ext_ram_bss_start, _ext_ram_bss_end;
|
||||||
#endif
|
#endif
|
||||||
static bool spiram_inited=false;
|
static bool spiram_inited=false;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user