mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
ci(header_check): Add check for public header should not include freertos
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
#include "soc/spi_periph.h"
|
||||
#include "soc/gpio_struct.h"
|
||||
#include "esp_private/periph_ctrl.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "esp_err.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -334,7 +334,7 @@ bool spi_bus_lock_touch(spi_bus_lock_dev_handle_t dev_handle);
|
||||
* - ESP_OK: on success
|
||||
* - ESP_ERR_INVALID_ARG: timeout is not portMAX_DELAY
|
||||
*/
|
||||
esp_err_t spi_bus_lock_acquire_start(spi_bus_lock_dev_handle_t dev_handle, TickType_t wait);
|
||||
esp_err_t spi_bus_lock_acquire_start(spi_bus_lock_dev_handle_t dev_handle, uint32_t wait);
|
||||
|
||||
/**
|
||||
* Release the bus acquired. Will pass the acquiring processor to other blocked
|
||||
@@ -395,7 +395,7 @@ esp_err_t spi_bus_lock_bg_request(spi_bus_lock_dev_handle_t dev_handle);
|
||||
* - ESP_ERR_INVALID_STATE: The device is not the acquiring bus.
|
||||
* - ESP_ERR_INVALID_ARG: Timeout is not portMAX_DELAY.
|
||||
*/
|
||||
esp_err_t spi_bus_lock_wait_bg_done(spi_bus_lock_dev_handle_t dev_handle, TickType_t wait);
|
||||
esp_err_t spi_bus_lock_wait_bg_done(spi_bus_lock_dev_handle_t dev_handle, uint32_t wait);
|
||||
|
||||
/**
|
||||
* Handle interrupt and closure of last operation. Should be called at the beginning of the ISR,
|
||||
@@ -437,7 +437,7 @@ bool spi_bus_lock_bg_entry(spi_bus_lock_handle_t lock);
|
||||
* @return false if retry is required, indicating that there is pending BG request.
|
||||
* otherwise true and quit ISR is allowed.
|
||||
*/
|
||||
bool spi_bus_lock_bg_exit(spi_bus_lock_handle_t lock, bool wip, BaseType_t* do_yield);
|
||||
bool spi_bus_lock_bg_exit(spi_bus_lock_handle_t lock, bool wip, int* do_yield);
|
||||
|
||||
/**
|
||||
* Check whether there is device asking for the acquiring device, and the desired
|
||||
|
||||
Reference in New Issue
Block a user