mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
Fix hexdump comment and array size. See issue #1518.
Closes https://github.com/espressif/esp-idf/pull/1518 Merges https://github.com/espressif/esp-idf/pull/1519
This commit is contained in:
committed by
Angus Gratton
parent
f4009b94dc
commit
19f10c4960
@@ -420,7 +420,7 @@ void esp_log_buffer_hexdump_internal( const char *tag, const void *buffer, uint1
|
|||||||
const char *ptr_line;
|
const char *ptr_line;
|
||||||
//format: field[length]
|
//format: field[length]
|
||||||
// ADDR[10]+" "+DATA_HEX[8*3]+" "+DATA_HEX[8*3]+" |"+DATA_CHAR[8]+"|"
|
// ADDR[10]+" "+DATA_HEX[8*3]+" "+DATA_HEX[8*3]+" |"+DATA_CHAR[8]+"|"
|
||||||
char hd_buffer[10+2+BYTES_PER_LINE*3+3+BYTES_PER_LINE+1+1];
|
char hd_buffer[10+3+BYTES_PER_LINE*3+3+BYTES_PER_LINE+1+1];
|
||||||
char *ptr_hd;
|
char *ptr_hd;
|
||||||
int bytes_cur_line;
|
int bytes_cur_line;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user