xilffs_v2_3: updated the xilffs example.

This patch modifies the xilffs example according to latest xilffs library version.

Signed-off-by: P L Sai Krishna <lakshmis@xilinx.com>
This commit is contained in:
P L Sai Krishna 2014-12-06 12:50:19 +05:30 committed by Suneel Garapati
parent 26967d0248
commit aeae1a8d96

View file

@ -142,6 +142,7 @@ int FfsSdPolledExample(void)
UINT NumBytesWritten;
u32 BuffCnt;
u32 FileSize = (8*1024*1024);
TCHAR *Path = "0:/";
for(BuffCnt = 0; BuffCnt < FileSize; BuffCnt++){
SourceAddress[BuffCnt] = TEST + BuffCnt;
@ -150,7 +151,7 @@ int FfsSdPolledExample(void)
/*
* Register volume work area, initialize device
*/
Res = f_mount(0, &fatfs);
Res = f_mount(&fatfs, Path, 0);
if (Res != FR_OK) {
return XST_FAILURE;