mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-04 02:50:58 +02:00
esp_log_buffer_hex: Make buffer argument a void pointer
This commit is contained in:
committed by
Angus Gratton
parent
e7db29b2a8
commit
edd2459934
@@ -102,10 +102,10 @@ void esp_log_write(esp_log_level_t level, const char* tag, const char* format, .
|
||||
*
|
||||
* @param buffer Pointer to the buffer array
|
||||
*
|
||||
* @param buff_len length of buffer
|
||||
* @param buff_len length of buffer in bytes
|
||||
*
|
||||
*/
|
||||
void esp_log_buffer_hex(const char *tag, const char *buffer, uint16_t buff_len);
|
||||
void esp_log_buffer_hex(const char *tag, const void *buffer, uint16_t buff_len);
|
||||
|
||||
/**
|
||||
* @brief Log a buffer of characters at Info level. Buffer should contain only printable characters.
|
||||
@@ -114,7 +114,7 @@ void esp_log_buffer_hex(const char *tag, const char *buffer, uint16_t buff_len);
|
||||
*
|
||||
* @param buffer Pointer to the buffer array
|
||||
*
|
||||
* @param buff_len length of buffer
|
||||
* @param buff_len length of buffer in bytes
|
||||
*
|
||||
*/
|
||||
void esp_log_buffer_char(const char *tag, const char *buffer, uint16_t buff_len);
|
||||
|
Reference in New Issue
Block a user