esp_log_buffer_hex: Make buffer argument a void pointer

This commit is contained in:
Angus Gratton
2017-06-09 17:16:58 +10:00
committed by Angus Gratton
parent e7db29b2a8
commit edd2459934
2 changed files with 6 additions and 5 deletions

View File

@@ -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);