From bb6f3e772cf8e6f0c87d92f218e5982d7da68323 Mon Sep 17 00:00:00 2001 From: batt Date: Thu, 13 Dec 2007 23:07:17 +0000 Subject: [PATCH] Add warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1036 38d2e660-2303-0410-9eaa-f027e97ec537 --- fs/battfs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/battfs.c b/fs/battfs.c index a2a0326e..0a01ee3c 100644 --- a/fs/battfs.c +++ b/fs/battfs.c @@ -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 */ -- 2.25.1