mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
esp_flash: fix the data type of delay_us
unsigned can be 16-bit on some architecture, which doesn't meet the requirements of delaying for several hundreds of us.
This commit is contained in:

committed by
bot

parent
5a9a42b079
commit
2d440e408a
@@ -57,7 +57,7 @@ typedef struct {
|
||||
esp_err_t (*region_protected)(void* arg, size_t start_addr, size_t size);
|
||||
|
||||
/** Delay for at least 'us' microseconds. Called in between 'start' and 'end'. */
|
||||
esp_err_t (*delay_us)(void *arg, unsigned us);
|
||||
esp_err_t (*delay_us)(void *arg, uint32_t us);
|
||||
|
||||
/** Called for get temp buffer when buffer from application cannot be directly read into/write from. */
|
||||
void *(*get_temp_buffer)(void* arg, size_t reqest_size, size_t* out_size);
|
||||
|
Reference in New Issue
Block a user