mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
PM: Fix a compile error in a DEBUGASSERTion when DEBUG is enabled
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user