userlibandfileserver/fileserver/sfat/sl_main.cpp
changeset 15 4122176ea935
parent 0 a41df078684a
equal deleted inserted replaced
0:a41df078684a 15:4122176ea935
    13 // Description:
    13 // Description:
    14 // f32\sfat\sl_main.cpp
    14 // f32\sfat\sl_main.cpp
    15 // 
    15 // 
    16 //
    16 //
    17 
    17 
       
    18 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
    19 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
    20 //!!
       
    21 //!! WARNING!! DO NOT edit this file !! '\sfat' component is obsolete and is not being used. '\sfat32'replaces it
       
    22 //!!
       
    23 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
    24 //!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
       
    25 
       
    26 
    18 #include "sl_std.h"
    27 #include "sl_std.h"
    19 
    28 
    20 GLDEF_C void Fault(TFault aFault)
    29 GLDEF_C void Fault(TFault aFault)
    21 //
    30 //
    22 // Report a fault in the fat file system.
    31 // Report a fault in the fat file system.
    23 //
    32 //
    24 	{
    33     {
    25 
    34 
    26 	User::Panic(_L("FAT_FSY"),aFault);
    35     User::Panic(_L("FAT_FSY"),aFault);
    27 	}
    36     }
    28 
    37 
    29 extern "C" {
    38 extern "C" {
    30 EXPORT_C CFileSystem* CreateFileSystem()
    39 EXPORT_C CFileSystem* CreateFileSystem()
    31 //
    40 //
    32 // Create a new file system
    41 // Create a new file system
    33 //
    42 //
    34 	{
    43     {
    35 
    44 
    36 	return(CFatFileSystem::New());
    45     return(CFatFileSystem::New());
    37 	}
    46     }
    38 }
    47 }
    39 
    48