mirror of
https://github.com/esphome/esphome.git
synced 2026-02-28 18:04:19 -07:00
[ble_client] Use stack buffer for hex formatting in very verbose logging
This commit is contained in:
@@ -10,8 +10,8 @@
|
||||
#include "esphome/core/helpers.h"
|
||||
#include "esphome/core/log.h"
|
||||
|
||||
// Maximum bytes to log in hex format for BLE writes
|
||||
static constexpr size_t BLE_WRITE_MAX_LOG_BYTES = 32;
|
||||
// Maximum bytes to log in hex format for BLE writes (many logging buffers are 256 chars)
|
||||
static constexpr size_t BLE_WRITE_MAX_LOG_BYTES = 64;
|
||||
|
||||
namespace esphome::ble_client {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user