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 osal_freertos.h to fix FreeRTOS wrong task switch #1803

Merged
merged 1 commit into from Dec 20, 2022

Conversation

jbruneaux31
Copy link
Contributor

Fix FreeRTOS task switch even if not required (unitialized variable usage)

Describe the PR
See #1798

Additional context
If applicable, add any other context about the PR and/or screenshots here.

Fix FreeRTOS task switch even if not required (unitialized variable usage)
Copy link
Contributor

@pete-pjb pete-pjb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks spot on in my opinion. 👍

Copy link
Owner

@hathach hathach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

look good, thank you. Apparently freeRTOS only set this to TRUE if needed (i.e never set this to FALSE). I have assumed it will set in both cases

image

@hathach hathach merged commit 97984b4 into hathach:master Dec 20, 2022
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.

None yet

3 participants