ble_mesh: Split mesh os related into a separate file

This commit is contained in:
lly
2020-03-30 19:33:25 +08:00
committed by bot
parent 01a8a6c150
commit 52a30c8f4a
9 changed files with 74 additions and 45 deletions

View File

@@ -0,0 +1,14 @@
/*
* Copyright (c) 2016 Intel Corporation
* Copyright (c) 2016 Wind River Systems, Inc.
* Additional Copyright (c) 2020 Espressif Systems (Shanghai) PTE LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
#include "mesh_kernel.h"
void k_sleep(s32_t duration)
{
vTaskDelay(duration / portTICK_PERIOD_MS);
}