userlibandfileserver/fileserver/sfat32/sl_drv.cpp
branchCompilerCompatibility
changeset 77 c4d65d91ad0c
parent 62 4a8fed1c0ef6
child 87 2f92ad2dc5db
child 102 ef2a444a7410
child 140 2ac1c5c27758
equal deleted inserted replaced
74:741dcdf88ba9 77:c4d65d91ad0c
    41 	aMount->LocalDrive()->SetMount(aMount);
    41 	aMount->LocalDrive()->SetMount(aMount);
    42     return iProxyDrive.Init(aMount->LocalDrive());
    42     return iProxyDrive.Init(aMount->LocalDrive());
    43 }
    43 }
    44 
    44 
    45 /**
    45 /**
    46     pseudo-destructor. 
    46     Close the interface to the media driver
    47 */
    47 */
    48 void TDriveInterface::Close()
    48 void TDriveInterface::Close()
    49 {
    49 {
    50 	 if(iMount)
    50 	 if(iMount)
       
    51 		{
    51 		iMount->LocalDrive()->SetMount(NULL);
    52 		iMount->LocalDrive()->SetMount(NULL);
       
    53         }
       
    54 
    52      iMount = NULL;
    55      iMount = NULL;
    53 }
    56 }
    54 
    57 
    55 //---------------------------------------------------------------------------------------------------------------------------------------
    58 //---------------------------------------------------------------------------------------------------------------------------------------
    56 
    59