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:
parent
348d6d5d3f
commit
aa0d2078b7
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue