-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
os/pm: clean and improve pm code #6588
base: master
Are you sure you want to change the base?
Conversation
286b906
to
4044f77
Compare
4044f77
to
9a38570
Compare
* Public Functions | ||
****************************************************************************/ | ||
|
||
void pm_register_utilcmds(void) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's merge into power test
typedef struct { | ||
clock_t ticks; | ||
pm_wakeup_reason_code_t wakeup_src; | ||
} pm_metrics_wake_t; | ||
#endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about use va_arg?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add some description to review the PR better.
No description provided.