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

rtkpos intpres: move static data to rtk_t #539

Open
wants to merge 1 commit into
base: demo5
Choose a base branch
from

Conversation

ourairquality
Copy link

Static data is not thread safe. Use stack allocated data for all the scratch data, and move the remaining static data into the rtk_t structure. This also allows it to be reinitialized.

Should be not change to the function, this is just to move the data. Might avoid a startup glitch on restart now.

Static data is not thread safe. Use stack allocated data for
all the scratch data, and move the remaining static data into
the rtk_t structure. This also allows it to be reinitialized.
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

Successfully merging this pull request may close these issues.

1 participant