mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-05-22 01:27:11 +08:00
feat(freertos): Remove unnecessary stack panic information
Using "0x......" instead of origin "......" to represent hexadecimal data of stack and idf_monitor will show its corresponding function if the address is located at a function of the project.
This commit is contained in:
@ -158,6 +158,7 @@ static int ets_printf_int(val_attr_t * const attr, uint8_t hex)
|
||||
ets_printf_buf(&buf[offset], VINT_STR_MAX - offset);
|
||||
|
||||
if (isfill_left(attr)) {
|
||||
fill_data = ' ';
|
||||
ets_printf_ch_mutlti(fill_data, left);
|
||||
}
|
||||
} else {
|
||||
@ -203,7 +204,7 @@ int ets_vprintf(const char *fmt, va_list va)
|
||||
ps++;
|
||||
break;
|
||||
case '0'...'9':
|
||||
if (!isstart(&attr) && *ps == '0') {
|
||||
if ((!isstart(&attr) || *(ps - 1) == '-') && *ps == '0') {
|
||||
attr.state |= FILL_0;
|
||||
} else {
|
||||
if (attr.state & POINTOR)
|
||||
|
Reference in New Issue
Block a user