From ee29c25b29eaa4fac4e897442634b69ecc8d8125 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 28 Mar 2024 14:32:49 +1100 Subject: Fork ESP-IDF's bluetooth component i want better sbc encoding, and no cla will stop me --- lib/bt/esp_ble_mesh/common/kernel.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lib/bt/esp_ble_mesh/common/kernel.c (limited to 'lib/bt/esp_ble_mesh/common/kernel.c') diff --git a/lib/bt/esp_ble_mesh/common/kernel.c b/lib/bt/esp_ble_mesh/common/kernel.c new file mode 100644 index 00000000..3db4ed45 --- /dev/null +++ b/lib/bt/esp_ble_mesh/common/kernel.c @@ -0,0 +1,14 @@ +/* + * SPDX-FileCopyrightText: 2016 Intel Corporation + * SPDX-FileCopyrightText: 2016 Wind River Systems, Inc. + * SPDX-FileContributor: 2020-2021 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ + +#include "mesh/kernel.h" + +void k_sleep(int32_t duration) +{ + vTaskDelay(duration / portTICK_PERIOD_MS); +} -- cgit v1.2.3