diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-03-28 16:17:39 +1100 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-03-28 16:17:39 +1100 |
| commit | c8e67cbd80b53a4e889ce0485546042d5490918c (patch) | |
| tree | f06314fef2bb9afaf04b924355b34f5277d69241 /lib/bt/esp_ble_mesh/common/kernel.c | |
| parent | f1c8866b815a92aeda3133fd27051ce7c873cc57 (diff) | |
| parent | 35a822fe602cdc9e3a3482df3913ea33af6fc8c2 (diff) | |
| download | tangara-fw-c8e67cbd80b53a4e889ce0485546042d5490918c.tar.gz | |
Merge branch 'main' into themes
Diffstat (limited to 'lib/bt/esp_ble_mesh/common/kernel.c')
| -rw-r--r-- | lib/bt/esp_ble_mesh/common/kernel.c | 14 |
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); +} |
