summaryrefslogtreecommitdiff
path: root/lib/bt/esp_ble_mesh/common/kernel.c
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-03-28 14:32:49 +1100
committerjacqueline <me@jacqueline.id.au>2024-03-28 14:32:49 +1100
commitee29c25b29eaa4fac4e897442634b69ecc8d8125 (patch)
tree8c5f1a140463f20f104316fa3492984e191154e9 /lib/bt/esp_ble_mesh/common/kernel.c
parent239e6d89507a24c849385f4bfa93ac4ad58e5de5 (diff)
downloadtangara-fw-ee29c25b29eaa4fac4e897442634b69ecc8d8125.tar.gz
Fork ESP-IDF's bluetooth component
i want better sbc encoding, and no cla will stop me
Diffstat (limited to 'lib/bt/esp_ble_mesh/common/kernel.c')
-rw-r--r--lib/bt/esp_ble_mesh/common/kernel.c14
1 files changed, 14 insertions, 0 deletions
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);
+}