Trivial, cosmetic

This commit is contained in:
Gregory Nutt 2017-09-11 19:22:49 -06:00
parent d95153706a
commit d76a541a57
4 changed files with 5 additions and 2 deletions

View File

@ -242,6 +242,7 @@ static void lc823450_adc_start(FAR struct lc823450_adc_inst_s *inst)
break;
}
}
DEBUGASSERT(i < 6);
/* Setup ADC channels */

View File

@ -159,7 +159,8 @@ struct SdDrCfg_s
UI_32 cid[4]; /* CID */
UI_32 csd[4]; /* CSD */
union {
union
{
struct SdInfo_s sd; /* SD specific info */
struct MmcInfo_s mmc; /* MMC specific info */
} ex;

View File

@ -542,7 +542,7 @@ int lc823450_wdt_initialize(void)
modifyreg32(MCLKCNTEXT1, 0,
MCLKCNTEXT1_PTM0C_CLKEN | MCLKCNTEXT1_PTM0_CLKEN);
modifyreg32(MRSTCNTEXT1, 0, MRSTCNTEXT1_PTM0_RSTB);
#ifdef CONFIG_LC823450_WDT_INTERRUPT
/* Attach our WDT interrupt handler (But don't enable it yet) */

View File

@ -82,6 +82,7 @@ int pm_register(FAR struct pm_callback_s *callbacks)
sq_addlast(&callbacks->entry, &g_pmglobals.registry);
pm_unlock();
}
return ret;
}