fatfs/src/ff.c
static BYTE sum_sfn (
	const BYTE* dir		/* Pointer to the SFN entry */
)
{
	BYTE sum = 0;
	UINT n = 11;

	do {
		sum = (sum >> 1) + (sum << 7) + *dir++;
	} while (--n);
	return sum;
}
/*-----------------------------------------------------------------------*/
/* FAT-LFN: Calculate checksum of an SFN entry                           */
/*-----------------------------------------------------------------------*/
FAT-LFN: Calculate checksum of an SFN entry
FAT - LFN : Calculate checksum of an SFN entry
static BYTE sum_sfn (
	const BYTE* dir		
)
{
	BYTE sum = 0;
	UINT n = 11;
	do {
		sum = (sum >> 1) + (sum << 7) + *dir++;
	} while (--n);
	return sum;
}
static BYTE sum_sfn ( const BYTE * dir ) { BYTE sum = 0 ; UINT n = 11 ; do { sum = ( sum >> 1 ) + ( sum << 7 ) + * dir ++ ; } while ( -- n ) ; return sum ; }
FAT-LFN: Calculate checksum of an SFN entry
FAT - LFN : Calculate checksum of an SFN entry
/* Pointer to the SFN entry */