mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-03 19:49:09 +08:00
Merge branch 'feature/reduce_stack_info_of_panic' into 'master'
Remove unnecessary stack panic information See merge request sdk/ESP8266_RTOS_SDK!774
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