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

stm32/can: fix wrong negation of fdcan set_transmit_pause function parameter #3782

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

Conversation

Andreychik32
Copy link

The issue is that this method simply wrongly negates its parameter.

In RM0399, it's stated that TXP bit enables pause. The function negates boolean argument, so set_transmit_pause(false) will inevitably enable pause.

RM0399, page 2679:
CleanShot 2025-01-17 at 6  08 10@2x

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