X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Ffs%2Fbattfs.h;fp=bertos%2Ffs%2Fbattfs.h;h=b14cb1c659ec2de231a6501dfddc6e510730f696;hb=c50659ae6bda45fcfb3ea68f1be0a44b487ae1a4;hp=f53bb9164d82a396f279c36564e75a94c60c7763;hpb=b6879dd52657a5cfb5b4f54a0b5c6280b3904a94;p=bertos.git diff --git a/bertos/fs/battfs.h b/bertos/fs/battfs.h index f53bb916..b14cb1c6 100644 --- a/bertos/fs/battfs.h +++ b/bertos/fs/battfs.h @@ -203,8 +203,9 @@ typedef struct BattFsSuper * the entire disk in memory. */ pgcnt_t *page_array; - pgcnt_t curr_page; - bool cache_dirty; + struct BattFsPageHeader curr_hdr; ///< Current page header (cached)- + pgcnt_t curr_page; ///< Current page loaded in disk buffer. + bool cache_dirty; ///< True if current cache is dirty (nneds to be flushed). /** * Lowest address, in page array, for free pages.