git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1298 35acf78f-673a-0410-8e92-d51de3d6d3f4

master
gdisirio 2009-11-14 19:57:56 +00:00
parent 9963e8f14e
commit 55252f65b2
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@ static const MMCConfig mmc_cfg = {};
*/
static bool_t mmc_is_inserted(void) {
return (bool_t)palReadPad(IOPORT3, GPIOC_MMCCP);
return palReadPad(IOPORT3, GPIOC_MMCCP);
}
/*
@ -66,7 +66,7 @@ static bool_t mmc_is_inserted(void) {
*/
static bool_t mmc_is_protected(void) {
return (bool_t)palReadPad(IOPORT3, GPIOC_MMCWP);
return !palReadPad(IOPORT3, GPIOC_MMCWP);
}
/**