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:
Angus Gratton 2018-12-20 09:34:42 +11:00 committed by Angus Gratton
parent 348d6d5d3f
commit aa0d2078b7

View file

@ -61,7 +61,7 @@ static const char* TAG = "spiram";
#endif
#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
static bool spiram_inited=false;