diff options
Diffstat (limited to 'os/hal/src')
| -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 cb045bcb4..0be587d14 100644 --- a/os/hal/src/mmc_spi.c +++ b/os/hal/src/mmc_spi.c @@ -423,13 +423,13 @@ void mmcObjectInit(MMCDriver *mmcp) {   * @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. Must be @p NULL.
 + * @param[in] config    pointer to the @p MMCConfig object.
   *
   * @api
   */
  void mmcStart(MMCDriver *mmcp, const MMCConfig *config) {
 -  chDbgCheck((mmcp != NULL) && (config == NULL), "mmcStart");
 +  chDbgCheck((mmcp != NULL) && (config != NULL), "mmcStart");
    chSysLock();
    chDbgAssert(mmcp->state == MMC_STOP, "mmcStart(), #1", "invalid state");
 | 
