esp-idf/components/bt/esp_ble_mesh/common/kernel.c

15 lines
336 B
C
Raw Normal View History

/*
* 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);
}