mirror of
https://github.com/eledio-devices/thirdparty-littlefs.git
synced 2025-11-01 00:38:29 +01:00
use the global config file
This commit is contained in:
2
lfs.c
2
lfs.c
@@ -5,7 +5,7 @@
|
|||||||
* SPDX-License-Identifier: BSD-3-Clause
|
* SPDX-License-Identifier: BSD-3-Clause
|
||||||
*/
|
*/
|
||||||
#include "lfs.h"
|
#include "lfs.h"
|
||||||
#include "lfs_util.h"
|
#include <lfs_util.h>
|
||||||
|
|
||||||
#define LFS_BLOCK_NULL ((lfs_block_t)-1)
|
#define LFS_BLOCK_NULL ((lfs_block_t)-1)
|
||||||
#define LFS_BLOCK_INLINE ((lfs_block_t)-2)
|
#define LFS_BLOCK_INLINE ((lfs_block_t)-2)
|
||||||
|
|||||||
3
lfs.h
3
lfs.h
@@ -85,9 +85,6 @@ enum lfs_error {
|
|||||||
LFS_ERR_NOMEM = -12, // No more memory available
|
LFS_ERR_NOMEM = -12, // No more memory available
|
||||||
LFS_ERR_NOATTR = -61, // No data/attr available
|
LFS_ERR_NOATTR = -61, // No data/attr available
|
||||||
LFS_ERR_NAMETOOLONG = -36, // File name too long
|
LFS_ERR_NAMETOOLONG = -36, // File name too long
|
||||||
#if LFS_THREAD_SAFE
|
|
||||||
LFS_ERR_LOCK = -23, // Failed to aquire lock
|
|
||||||
#endif
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// File types
|
// File types
|
||||||
|
|||||||
Reference in New Issue
Block a user