From 7a6febaeb186c055364d5c850fc78ca14227ea1e Mon Sep 17 00:00:00 2001 From: shirait Date: Thu, 12 Jul 2007 09:05:07 +0000 Subject: [PATCH] fix pc_regression_test git-svn-id: file:///Users/lillianskinner/Downloads/platinum/twl/twl_wrapsdk/trunk@187 4ee2a332-4b2b-5046-8439-1ba90f034370 --- build/libraries/fatfs/ARM7/apiregrs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/libraries/fatfs/ARM7/apiregrs.c b/build/libraries/fatfs/ARM7/apiregrs.c index c58520e..a4bf541 100644 --- a/build/libraries/fatfs/ARM7/apiregrs.c +++ b/build/libraries/fatfs/ARM7/apiregrs.c @@ -702,7 +702,7 @@ word i,j, *wbuff; } -#define FOUR_GIG_BLOCKS 0x80000 +#define FOUR_GIG_BLOCKS 0x800000 //ctr modified #define ONE_MEG (dword) 0x100000 #define ONE_MEG_SHY (0x100000-512) #define FILL_TEST_HIT_WRAP 0 @@ -728,7 +728,7 @@ ERTFS_STAT stat_buff; } /*nfree =*/ pc_free(test_drive, &blocks_total, &blocks_free); - if (blocks_free < 0x80000) /* Not enough space to do long test */ + if (blocks_free < (RTFS_MAX_FILE_SIZE/0x200)) /* Not enough space to do long test */ //ctr modified return(TRUE); #if (VERBOSE) RTFS_PRINT_STRING_1(USTRING_RTFSDEM_17,PRFLG_NL); /* "Performing Large 4GIG File io test" */