mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-22 21:14:50 +00:00
Remove unused lfs_dir_tell function
This commit is contained in:
parent
cbcdc3ed00
commit
8a4a0cc932
@ -1057,12 +1057,6 @@ int lfs_dir_seek(lfs_t *lfs, lfs_dir_t *dir, lfs_off_t off)
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
lfs_soff_t lfs_dir_tell(lfs_t *lfs, lfs_dir_t const *dir)
|
|
||||||
{
|
|
||||||
(void)lfs;
|
|
||||||
return dir->pos;
|
|
||||||
}
|
|
||||||
|
|
||||||
int lfs_dir_rewind(lfs_t *lfs, lfs_dir_t *dir)
|
int lfs_dir_rewind(lfs_t *lfs, lfs_dir_t *dir)
|
||||||
{
|
{
|
||||||
// reload the head dir
|
// reload the head dir
|
||||||
|
@ -436,14 +436,6 @@ int lfs_dir_read(lfs_t *lfs, lfs_dir_t *dir, struct lfs_info *info);
|
|||||||
// Returns a negative error code on failure.
|
// Returns a negative error code on failure.
|
||||||
int lfs_dir_seek(lfs_t *lfs, lfs_dir_t *dir, lfs_off_t off);
|
int lfs_dir_seek(lfs_t *lfs, lfs_dir_t *dir, lfs_off_t off);
|
||||||
|
|
||||||
// Return the position of the directory
|
|
||||||
//
|
|
||||||
// The returned offset is only meant to be consumed by seek and may not make
|
|
||||||
// sense, but does indicate the current position in the directory iteration.
|
|
||||||
//
|
|
||||||
// Returns the position of the directory, or a negative error code on failure.
|
|
||||||
lfs_soff_t lfs_dir_tell(lfs_t *lfs, lfs_dir_t const *dir);
|
|
||||||
|
|
||||||
// Change the position of the directory to the beginning of the directory
|
// Change the position of the directory to the beginning of the directory
|
||||||
//
|
//
|
||||||
// Returns a negative error code on failure.
|
// Returns a negative error code on failure.
|
||||||
|
Loading…
Reference in New Issue
Block a user