mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
26 lines
349 B
C
26 lines
349 B
C
/*
|
|
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
|
|
#include "osi/osi.h"
|
|
#include "osi/mutex.h"
|
|
|
|
int osi_init(void)
|
|
{
|
|
int ret = 0;
|
|
|
|
if (osi_mutex_global_init() != 0) {
|
|
ret = -1;
|
|
}
|
|
|
|
return ret;
|
|
}
|
|
|
|
void osi_deinit(void)
|
|
{
|
|
osi_mutex_global_deinit();
|
|
}
|