Skip to content
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

Update task profiling doc about when to enable task stats #71

Open
npetersen2 opened this issue Feb 2, 2023 · 0 comments
Open

Update task profiling doc about when to enable task stats #71

npetersen2 opened this issue Feb 2, 2023 · 0 comments

Comments

@npetersen2
Copy link
Contributor

Per @DivyaMendpara experience, she found you need to enable the task stats AFTER you call the scheduler_tcb_init() call for the task.

When you call scheduler_tcb_init(), it overrides the values in the struct to the default values per the user config:

https://github.com/Severson-Group/AMDC-Firmware/blob/v1.0.x/sdk/app_cpu1/common/sys/scheduler.c#L84-L88

TODO

Update the docs to highlight this fact!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant