Skip to content

Enable CAN FD explicitly - #27

Merged
kou merged 1 commit into
enactic:mainfrom
kou:explicit-can-fd
Nov 16, 2026
Merged

kou merged 1 commit into
enactic:mainfrom
kou:explicit-can-fd

Conversation

@kou

@kou kou commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

OpenArmInitializer::initialize_openarm() passed enable_debug to openarm::can::socket::OpenArm() but its second argument is enable_fd. CAN FD was enabled only because all callers passed true as enable_debug.

Always enable CAN FD instead. OpenArm uses CAN FD. enable_debug only controls log messages now.

This doesn't change the behavior of the executables. The only difference is enable_debug == false: CAN FD was disabled but is enabled now.

`OpenArmInitializer::initialize_openarm()` passed `enable_debug` to
`openarm::can::socket::OpenArm()` but its second argument is
`enable_fd`. CAN FD was enabled only because all callers passed `true`
as `enable_debug`.

Always enable CAN FD instead. OpenArm uses CAN FD. `enable_debug` only
controls log messages now.

This doesn't change the behavior of the executables. The only
difference is `enable_debug == false`: CAN FD was disabled but is
enabled now.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@kou
kou merged commit 2f06a49 into enactic:main Nov 16, 2026
2 checks passed
@kou
kou deleted the explicit-can-fd branch November 16, 2026 07:15
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