mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-16 04:22:22 +00:00
feat(storage/fatfs): Switch to a config struct for VFS FAT registration
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -46,17 +46,17 @@ extern "C" {
|
||||
/**
|
||||
* Default value of flags member in esp_vfs_t structure.
|
||||
*/
|
||||
#define ESP_VFS_FLAG_DEFAULT 0
|
||||
#define ESP_VFS_FLAG_DEFAULT (1 << 0)
|
||||
|
||||
/**
|
||||
* Flag which indicates that FS needs extra context pointer in syscalls.
|
||||
*/
|
||||
#define ESP_VFS_FLAG_CONTEXT_PTR 1
|
||||
#define ESP_VFS_FLAG_CONTEXT_PTR (1 << 1)
|
||||
|
||||
/**
|
||||
* Flag which indicates that FS is located on read-only partition.
|
||||
*/
|
||||
#define ESP_VFS_FLAG_READONLY_FS 2
|
||||
#define ESP_VFS_FLAG_READONLY_FS (1 << 2)
|
||||
|
||||
/*
|
||||
* @brief VFS identificator used for esp_vfs_register_with_id()
|
||||
|
||||
Reference in New Issue
Block a user