Subversion Repositories NaviCtrl

Rev

Rev 89 | Rev 110 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89 Rev 90
Line 480... Line 480...
480
        return ((u16)((sector - Partition.FirstDataSector) / Partition.SectorsPerCluster) + 2);
480
        return ((u16)((sector - Partition.FirstDataSector) / Partition.SectorsPerCluster) + 2);
481
}
481
}
Line 482... Line 482...
482
 
482
 
-
 
483
 
-
 
484
/****************************************************************************************************************************************/
-
 
485
/*      Function:       Fat16_IsValid(void);                                                                                                                                                                                                            */
-
 
486
/*                                                                                                                                                                                                                                                                              */
-
 
487
/*      Description:    This function return the Fat 15 filesystem state                                                                                                                                                        */
-
 
488
/*                                                                                                                                                                                                                                                                              */
-
 
489
/*      Returnvalue: The function returns "1" on success                                                                                                                                                                        */
-
 
490
/****************************************************************************************************************************************/
-
 
491
u8 Fat16_IsValid(void)
-
 
492
{
-
 
493
        return(Partition.IsValid);
-
 
494
}
-
 
495
 
483
 
496
 
484
/****************************************************************************************************************************************/
497
/****************************************************************************************************************************************/
485
/*      Function:       Fat16_Deinit(void);                                                                                                                                                                                                             */
498
/*      Function:       Fat16_Deinit(void);                                                                                                                                                                                                             */
486
/*                                                                                                                                                                                                                                                                              */
499
/*                                                                                                                                                                                                                                                                              */
487
/*      Description:    This function uninitializes the fat 16 api                                                                                                                                                      */
500
/*      Description:    This function uninitializes the fat 16 api                                                                                                                                                      */