mirror of
https://github.com/esphome/esphome.git
synced 2026-09-30 16:30:22 +00:00
[component] Fix components for compatibility with stricter compilers (#14545)
Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
This commit is contained in:
co-authored by
Jonathan Swoboda
parent
a0cd35c5fc
commit
3f700bac1c
@@ -451,7 +451,7 @@ void ESP32BLE::loop() {
|
||||
ESP_LOGV(TAG, "gap_event_handler - %d", gap_event);
|
||||
#ifdef ESPHOME_ESP32_BLE_GAP_EVENT_HANDLER_COUNT
|
||||
{
|
||||
esp_ble_gap_cb_param_t *param;
|
||||
esp_ble_gap_cb_param_t *param = NULL;
|
||||
// clang-format off
|
||||
switch (gap_event) {
|
||||
// All three scan complete events have the same structure with just status
|
||||
|
||||
Reference in New Issue
Block a user