PM: Fix a compile error in a DEBUGASSERTion when DEBUG is enabled

This commit is contained in:
Gregory Nutt 2016-03-27 18:17:37 -06:00
parent fbaee9db34
commit 23142d91fa

View File

@ -184,7 +184,7 @@ void pm_worker(FAR void *arg)
/* Get a convenience pointer to minimize all of the indexing */
DEBUGASSERT(domain >= 0 && domain < CONFIG_PM_NDOMAINS);
DEBUGASSERT(index >= 0 && index < CONFIG_PM_NDOMAINS);
pdom = &g_pmglobals.domain[index];
#if CONFIG_PM_MEMORY > 1