From bafd7a54873af4dec7b7d3b94bf2cdfd0aa2d1b6 Mon Sep 17 00:00:00 2001 From: batt Date: Wed, 5 Dec 2007 20:47:30 +0000 Subject: [PATCH] Typo. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1022 38d2e660-2303-0410-9eaa-f027e97ec537 --- fs/battfs.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fs/battfs.h b/fs/battfs.h index da38bdec..a3ef1cc6 100644 --- a/fs/battfs.h +++ b/fs/battfs.h @@ -49,7 +49,7 @@ typedef uint16_t pgoff_t; typedef pgoff_t mark_t; typedef uint8_t inode_t; typedef uint8_t seq_t; -typedef uint16_t fsc_t; +typedef uint16_t fcs_t; /** * BattFS page header. @@ -58,13 +58,13 @@ typedef uint16_t fsc_t; */ typedef struct BattFsPageHeader { + inode_t inode; ///< File inode (file identifier). + seq_t seq; ///< Page sequence number. mark_t mark; ///< Marker used to keep trace of free/used pages. pgoff_t pgoff; ///< Page offset inside file. fill_t fill; ///< Filled bytes in page. - seq_t seq; ///< Page sequence number. - inode_t inode; ///< File inode (file identifier). uint16_t rfu; ///< Reserved for future use, 0xFFFF for now. - fsc_t fsc; ///< FSC of the page header. + fcs_t fcs; ///< FCS (Frame Check Sequence) of the page header. } BattFsPageHeader; /* Ensure structure has no padding added */ -- 2.25.1