diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-21 18:25:56 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-21 18:25:56 +0000 |
commit | 0f395838d3782f0865ead3dacc7c5acb5cfc73f0 (patch) | |
tree | 4083259d2e7ac1765853e00596b4598e60c5fca1 /os/hal/src/mmc_spi.c | |
parent | f2386f6a22c55842203278c5b1f9691c5ac5f8fd (diff) | |
download | ChibiOS-0f395838d3782f0865ead3dacc7c5acb5cfc73f0.tar.gz ChibiOS-0f395838d3782f0865ead3dacc7c5acb5cfc73f0.tar.bz2 ChibiOS-0f395838d3782f0865ead3dacc7c5acb5cfc73f0.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2516 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/src/mmc_spi.c')
-rw-r--r-- | os/hal/src/mmc_spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
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");
|