Access to the "/data" partition via USB Mass Storage (#405)
This commit is contained in:
@@ -22,6 +22,10 @@ static esp_err_t initNvsFlashSafely() {
|
||||
|
||||
static wl_handle_t data_wl_handle = WL_INVALID_HANDLE;
|
||||
|
||||
wl_handle_t getDataPartitionWlHandle() {
|
||||
return data_wl_handle;
|
||||
}
|
||||
|
||||
size_t getSectorSize() {
|
||||
#if defined(CONFIG_FATFS_SECTOR_512)
|
||||
return 512;
|
||||
|
||||
Reference in New Issue
Block a user