mirror of
https://github.com/apache/nuttx.git
synced 2026-09-19 20:39:39 +08:00
drivers/power/pm_register.c: Fix an error found in build testing.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user