mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-16 04:22:22 +00:00
fatfs: update diskio and vfs for FatFS changes
- do to not rely on integer.h types - ffsystem.c does not define ff_memcalloc, replace with ff_memalloc + memset.
This commit is contained in:
@@ -19,7 +19,6 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "integer.h"
|
||||
#include "esp_partition.h"
|
||||
|
||||
/**
|
||||
@@ -28,8 +27,8 @@ extern "C" {
|
||||
* @param pdrv drive number
|
||||
* @param part_handle pointer to raw flash partition.
|
||||
*/
|
||||
esp_err_t ff_diskio_register_raw_partition(BYTE pdrv, const esp_partition_t* part_handle);
|
||||
BYTE ff_diskio_get_pdrv_raw(const esp_partition_t* part_handle);
|
||||
esp_err_t ff_diskio_register_raw_partition(unsigned char pdrv, const esp_partition_t* part_handle);
|
||||
unsigned char ff_diskio_get_pdrv_raw(const esp_partition_t* part_handle);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user