mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
ci(header_check): Add check for public header should not include freertos
This commit is contained in:
@@ -102,7 +102,7 @@ esp_err_t sd_host_slot_enable_io_int(sd_host_slot_handle_t slot);
|
||||
* - ESP_ERR_INVALID_ARG: Invalid argument
|
||||
* - ESP_ERR_TIMEOUT: Timeout
|
||||
*/
|
||||
esp_err_t sd_host_slot_wait_io_int(sd_host_slot_handle_t slot, TickType_t timeout_ticks);
|
||||
esp_err_t sd_host_slot_wait_io_int(sd_host_slot_handle_t slot, uint32_t timeout_ticks);
|
||||
|
||||
/**
|
||||
* @brief Get slot info
|
||||
|
||||
@@ -125,7 +125,7 @@ struct sd_slot_driver_t {
|
||||
* - ESP_ERR_INVALID_ARG: Invalid argument
|
||||
* - ESP_ERR_TIMEOUT: Timeout
|
||||
*/
|
||||
esp_err_t (*wait_io_int)(sd_slot_driver_t *slot_drv, TickType_t timeout_ticks);
|
||||
esp_err_t (*wait_io_int)(sd_slot_driver_t *slot_drv, uint32_t timeout_ticks);
|
||||
|
||||
/**
|
||||
* @brief Get slot info
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <string.h>
|
||||
#include "esp_types.h"
|
||||
#include "sdkconfig.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "esp_err.h"
|
||||
#include "esp_log.h"
|
||||
#include "esp_check.h"
|
||||
@@ -85,7 +86,7 @@ esp_err_t sd_host_slot_enable_io_int(sd_host_slot_handle_t slot)
|
||||
return slot->enable_io_int(slot);
|
||||
}
|
||||
|
||||
esp_err_t sd_host_slot_wait_io_int(sd_host_slot_handle_t slot, TickType_t timeout_ticks)
|
||||
esp_err_t sd_host_slot_wait_io_int(sd_host_slot_handle_t slot, uint32_t timeout_ticks)
|
||||
{
|
||||
SD_HOST_ARG_CHECK(slot);
|
||||
SD_HOST_FUNC_CHECK(slot->wait_io_int);
|
||||
|
||||
Reference in New Issue
Block a user