mesh_kernel.c 315 B

1234567891011121314
  1. /*
  2. * Copyright (c) 2016 Intel Corporation
  3. * Copyright (c) 2016 Wind River Systems, Inc.
  4. * Additional Copyright (c) 2020 Espressif Systems (Shanghai) PTE LTD
  5. *
  6. * SPDX-License-Identifier: Apache-2.0
  7. */
  8. #include "mesh_kernel.h"
  9. void k_sleep(int32_t duration)
  10. {
  11. vTaskDelay(duration / portTICK_PERIOD_MS);
  12. }