From 0f395838d3782f0865ead3dacc7c5acb5cfc73f0 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 21 Dec 2010 18:25:56 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2516 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/src/mmc_spi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/hal/src/mmc_spi.c') diff --git a/os/hal/src/mmc_spi.c b/os/hal/src/mmc_spi.c index f98f3f435..1004c26c2 100644 --- a/os/hal/src/mmc_spi.c +++ b/os/hal/src/mmc_spi.c @@ -236,13 +236,13 @@ void mmcObjectInit(MMCDriver *mmcp, SPIDriver *spip, * @brief Configures and activates the MMC peripheral. * * @param[in] mmcp pointer to the @p MMCDriver object - * @param[in] config pointer to the @p MMCConfig object + * @param[in] config pointer to the @p MMCConfig object. Must be @p NULL. * * @api */ void mmcStart(MMCDriver *mmcp, const MMCConfig *config) { - chDbgCheck((mmcp != NULL) && (config != NULL), "mmcStart"); + chDbgCheck((mmcp != NULL) && (config == NULL), "mmcStart"); chSysLock(); chDbgAssert(mmcp->mmc_state == MMC_STOP, "mmcStart(), #1", "invalid state"); -- cgit v1.2.3