mirror of
https://github.com/esphome/esphome.git
synced 2025-10-06 03:43:49 +01:00
review
This commit is contained in:
@@ -364,7 +364,7 @@ void ESP32BLE::loop() {
|
||||
|
||||
template<typename... Args> void enqueue_ble_event(Args... args) {
|
||||
if (global_ble->ble_events_.size() >= MAX_BLE_QUEUE_SIZE) {
|
||||
ESP_LOGD(TAG, "BLE event queue full (%d), dropping event", MAX_BLE_QUEUE_SIZE);
|
||||
ESP_LOGD(TAG, "BLE event queue full (%zu), dropping event", MAX_BLE_QUEUE_SIZE);
|
||||
return;
|
||||
}
|
||||
|
||||
|
@@ -60,8 +60,6 @@ class BLEEvent {
|
||||
GATTS,
|
||||
};
|
||||
|
||||
BLEEvent() = default;
|
||||
|
||||
// Constructor for GAP events - no external allocations needed
|
||||
BLEEvent(esp_gap_ble_cb_event_t e, esp_ble_gap_cb_param_t *p) {
|
||||
this->type_ = GAP;
|
||||
|
Reference in New Issue
Block a user