From b92f8b0a95a417ccc7bc81c604f77ba01fcc694d Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Fri, 14 Jan 2022 18:59:21 +0100 Subject: [PATCH] examples/bluetooth: mark auto_tb and sync_obj as extern --- .../esp_ble_mesh/ble_mesh_coex_test/components/case/sync.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/components/case/sync.h b/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/components/case/sync.h index 85efed4a61..a8b9265d65 100644 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/components/case/sync.h +++ b/examples/bluetooth/esp_ble_mesh/ble_mesh_coex_test/components/case/sync.h @@ -1,7 +1,7 @@ /* * ESP BLE Mesh Example * - * SPDX-FileCopyrightText: 2021 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2021-2022 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Unlicense OR CC0-1.0 */ @@ -86,7 +86,7 @@ typedef struct { uint8_t case_id; const uint16_t excpet_param_bit; } auto_tc; -auto_tc auto_tb[6]; +extern auto_tc auto_tb[6]; typedef enum { @@ -113,7 +113,7 @@ struct sync_t { esp_timer_handle_t sync_timer; sync_recv cmd_recv; }; -struct sync_t sync_obj; +extern struct sync_t sync_obj; extern SemaphoreHandle_t client_mutex; void sync_init(void);