You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/02/21 13:21:19 UTC

[GitHub] [incubator-nuttx] GUIDINGLI commented on a change in pull request #5577: os init_state: add new state OSINIT_OSIDLELOOP

GUIDINGLI commented on a change in pull request #5577:
URL: https://github.com/apache/incubator-nuttx/pull/5577#discussion_r811123007



##########
File path: drivers/power/pm_register.c
##########
@@ -62,19 +62,11 @@ int pm_register(FAR struct pm_callback_s *callbacks)
 
   /* Add the new entry to the end of the list of registered callbacks */
 
-  if (OSINIT_OS_READY())

Review comment:
       Don't need.
   Because when in system init state, we allow user to get lock.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org