Skip to content

cleanup CAN bus error handling - #312

Merged
marckleinebudde merged 5 commits into
candle-usb:masterfrom
marckleinebudde:cleanup-CAN-bus-error-handling
Jul 13, 2026
Merged

cleanup CAN bus error handling#312
marckleinebudde merged 5 commits into
candle-usb:masterfrom
marckleinebudde:cleanup-CAN-bus-error-handling

Conversation

@marckleinebudde

Copy link
Copy Markdown
Collaborator

Currently CAN bus error information (if enabled) is send twice.

If no state change is pending, send CAN bus error information stand alone, otherwise, send it along the CAN state information.

Also clear ESR register after read, to avoid sending stale CAN bus error information.

…wice

Currently CAN bus error information (if enabled) is send twice.

If no state change is pending, send CAN bus error information stand alone,
otherwise, send it along the CAN state information.
@marckleinebudde
marckleinebudde merged commit 168b50f into candle-usb:master Jul 13, 2026
48 checks passed
@marckleinebudde
marckleinebudde deleted the cleanup-CAN-bus-error-handling branch July 13, 2026 16:29
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