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:
parent
26967d0248
commit
aeae1a8d96
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue