drivers/power/pm_register.c: Fix an error found in build testing.
This commit is contained in:
parent
499b89feed
commit
00c6793e61
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ int pm_register(FAR struct pm_callback_s *callbacks)
|
|||
|
||||
/* Add the new entry to the end of the list of registered callbacks */
|
||||
|
||||
if (OSINIT_OSREADY())
|
||||
if (OSINIT_OS_READY())
|
||||
{
|
||||
ret = pm_lock();
|
||||
if (ret == OK)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue