mirror of
https://github.com/apache/nuttx.git
synced 2026-08-06 13:08:59 +00:00
PM: Fix a compile error in a DEBUGASSERTion when DEBUG is enabled
This commit is contained in:
parent
fbaee9db34
commit
23142d91fa
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue