esp-idf/components/spi_flash/sim/stubs/newlib/lock.c

30 lines
519 B
C

/*
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*
* This is a STUB FILE used when compiling ESP-IDF to run tests on the host system.
* The source file used normally for ESP-IDF has the same name but is located elsewhere.
*/
#include "sys/lock.h"
void _lock_acquire(_lock_t *lock)
{
return;
}
void _lock_close(_lock_t *lock)
{
return;
}
void _lock_init(_lock_t *lock)
{
return;
}
void _lock_release(_lock_t *lock)
{
return;
}