Add warning.
authorbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 13 Dec 2007 23:07:17 +0000 (23:07 +0000)
committerbatt <batt@38d2e660-2303-0410-9eaa-f027e97ec537>
Thu, 13 Dec 2007 23:07:17 +0000 (23:07 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1036 38d2e660-2303-0410-9eaa-f027e97ec537

fs/battfs.c

index a2a0326e02a8a3a18597c925f3243815477a9b85..0a01ee3c9b40e81d6c19c563d99224c74b2026dd 100644 (file)
@@ -339,6 +339,7 @@ bool battfs_init(struct BattFsSuper *disk)
                                pgcnt_t new_page, old_page;
                                fill_t old_fill;
 
+                               #warning fix seq wraparound!
                                if (hdr.seq > hdr_old.seq)
                                {
                                        /* Actual header is newer than the previuos one */