mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 11:26:12 +08:00
NuttX: nxstyle fixes
nxstyle fixes to pass CI. Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
This commit is contained in:
committed by
Xiang Xiao
parent
eac1d28aae
commit
08612337f6
@@ -683,13 +683,15 @@ int smartfs_finddirentry(struct smartfs_mountpt_s *fs,
|
||||
if ((smartfs_rdle16(&entry->flags) &
|
||||
SMARTFS_DIRENT_TYPE) ==
|
||||
SMARTFS_DIRENT_TYPE_FILE)
|
||||
{
|
||||
dirsector =
|
||||
smartfs_rdle16(&entry->firstsector);
|
||||
#else
|
||||
if ((entry->flags & SMARTFS_DIRENT_TYPE) ==
|
||||
SMARTFS_DIRENT_TYPE_FILE)
|
||||
#endif
|
||||
{
|
||||
#ifdef CONFIG_SMARTFS_ALIGNED_ACCESS
|
||||
dirsector =
|
||||
smartfs_rdle16(&entry->firstsector);
|
||||
#else
|
||||
dirsector = entry->firstsector;
|
||||
#endif
|
||||
readwrite.count =
|
||||
|
||||
Reference in New Issue
Block a user