diff options
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); +} |
