diff --git a/ff_file.c b/ff_file.c index d032cf2..0970653 100644 --- a/ff_file.c +++ b/ff_file.c @@ -2499,7 +2499,7 @@ int32_t FF_PutC( FF_FILE * pxFile, FF_Error_t xResult; if( pxFile == NULL ) - { /* Ensure we don't have a Null file pointer on a Public interface. */ + { /* Ensure we don't have a Null file pointer on a Public interface. */ xResult = FF_ERR_NULL_POINTER | FF_PUTC; } else if( ( pxFile->ucMode & FF_MODE_WRITE ) == 0 ) @@ -3163,7 +3163,7 @@ FF_Error_t FF_Close( FF_FILE * pxFile ) /* Handle Linked list! */ FF_PendSemaphore( pxFile->pxIOManager->pvSemaphore ); - { /* Semaphore is required, or linked list could become corrupted. */ + { /* Semaphore is required, or linked list could become corrupted. */ pxFileChain = ( FF_FILE * ) pxFile->pxIOManager->FirstFile; if( pxFileChain == pxFile ) diff --git a/ff_ioman.c b/ff_ioman.c old mode 100755 new mode 100644 index 1d9a496..366f2e4 --- a/ff_ioman.c +++ b/ff_ioman.c @@ -662,7 +662,7 @@ int32_t FF_BlockWrite( FF_IOManager_t * pxIOManager, if( ( slRetVal == 0ul ) && ( pxIOManager->xBlkDevice.fnpWriteBlocks != NULL ) ) { do - { /* Make sure we don't execute a NULL. */ + { /* Make sure we don't execute a NULL. */ if( ( xSemLocked == pdFALSE ) && ( ( pxIOManager->ucFlags & FF_IOMAN_BLOCK_DEVICE_IS_REENTRANT ) == pdFALSE ) ) { @@ -1518,7 +1518,7 @@ FF_Error_t FF_Mount( FF_Disk_t * pxDisk, } if( pxPartition->ulSectorsPerFAT == 0 ) - { /* FAT32 */ + { /* FAT32 */ pxPartition->ulSectorsPerFAT = FF_getLong( pxBuffer->pucBuffer, FF_FAT_32_SECTORS_PER_FAT ); pxPartition->ulRootDirCluster = FF_getLong( pxBuffer->pucBuffer, FF_FAT_ROOT_DIR_CLUSTER ); memcpy( pxPartition->pcVolumeLabel, pxBuffer->pucBuffer + FF_FAT_32_VOL_LABEL, sizeof( pxPartition->pcVolumeLabel ) - 1 );