##// END OF EJS Templates
Huge cleanup, removed "out of dir building" now libuc contains qmake and...
Huge cleanup, removed "out of dir building" now libuc contains qmake and spec files. Libuc uses now qmake's prl file for dependecy propagation.

File last commit:

r68:104125d87b89 dev_alexis
r71:608b7f0e27c2 dev_alexis
Show More
test_SDCARD.c
19 lines | 489 B | text/x-c | CLexer
#include <stdio.h>
#include <fat32.h>
#include <ucdirent.h>
void printRootClustersChain(FAT32fs* sdcard2FAT32part)
{
ucdirent root;
uint32_t sector_lba,res,tmp=sdcard2FAT32part->cluster_begin_lba;
sector_lba=tmp;
do
{
printf("Sector @0x%x\n",tmp);
//sector_lba=tmp+sdcard2FAT32part->BPB_SecPerClus-1;
sector_lba=tmp;
res=fat32nextsectorlba(sdcard2FAT32part,sector_lba,&tmp);
}while((res==DIRENT_noErr)&&(res!=DIRENT_LastSect));
}