Add preliminary write support; initialize to 0xff the memory in battfs_writeTestBlock...
[bertos.git] / bertos / fs / battfs.h
index d5afb523212502ecff53fed2a478fa546621ee11..e0829917ddce66b33f25a442389fd1b6f16db8ae 100644 (file)
@@ -194,6 +194,8 @@ typedef struct BattFsSuper
         * the entire disk in memory.
         */
        pgcnt_t *page_array;
+       pgcnt_t curr_page;
+       bool cache_dirty;
 
        /**
         * Lowest address, in page array, for free pages.