xiaoxiang781216 commented on a change in pull request #5591:
URL: https://github.com/apache/incubator-nuttx/pull/5591#discussion_r812654837
##########
File path: drivers/power/pm.h
##########
@@ -78,6 +79,14 @@ struct pm_domain_s
/* The power state lock count */
uint16_t stay[PM_COUNT];
+
+ /* Auto update or not */
+
+ bool auto_update;
+
+ /* The worker of update callback */
+
+ struct work_s update_work;
Review comment:
need be guarded by CONFIG_SCHED_WORKQUEUE
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]