summaryrefslogtreecommitdiff
path: root/lib/bt/esp_ble_mesh/common/kernel.c
diff options
context:
space:
mode:
authorailurux <ailuruxx@gmail.com>2024-04-02 11:13:50 +1100
committerailurux <ailuruxx@gmail.com>2024-04-02 11:13:50 +1100
commite20ebe7574db5aedc73f07b7bb3a0a01eae93c84 (patch)
tree34c93ec8a80e282f3ce3e47dd60c41e46de0f8b3 /lib/bt/esp_ble_mesh/common/kernel.c
parenta750af35aa6afda40aadca8f7cf8db75f41a43b2 (diff)
parent0d0c4b2307cac8436fea7276956f293262b265ed (diff)
downloadtangara-fw-e20ebe7574db5aedc73f07b7bb3a0a01eae93c84.tar.gz
Merge branch 'main' into lua-volume
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);
+}