Subversion Repositories Code-Repo

Rev

Rev 248 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 248 Rev 251
Line 505... Line 505...
505
    return (MMC_CardSize);
505
    return (MMC_CardSize);
506
 
506
 
507
}
507
}
508
 
508
 
509
char mmcPing(void) {
509
char mmcPing(void) {
510
	if (!(MMC_CD_PxIN & MMC_CD))
510
	char stat = MMC_CD_STAT();
-
 
511
	if (stat)
511
		return (MMC_SUCCESS);
512
		return (MMC_SUCCESS);
512
	else
513
	else
513
		return (MMC_INIT_ERROR);
514
		return (MMC_INIT_ERROR);
514
}
515
}
515
 
516