Skip to content

Remove reference to msg in debugging statements to enable compilation#21

Open
proan wants to merge 1 commit intoodriverobotics:masterfrom
proan:bugfix-DEBUG-errors
Open

Remove reference to msg in debugging statements to enable compilation#21
proan wants to merge 1 commit intoodriverobotics:masterfrom
proan:bugfix-DEBUG-errors

Conversation

@proan
Copy link

@proan proan commented Feb 28, 2026

In the process of debugging my code to handle the library changes from 0.10.6 to 0.10.9, I enabled the DEBUG macro in ODriveCAN.h L7. This caused compilation errors in Arduino IDE that msg is not defined. This PR fixes the compiler error and allows debugging output to be printed to the serial port.

I did not address the logic errors in https://github.com/proan/ODriveArduino/blob/4ea624266ac28df369194129cfced0f840966c72/src/ODriveCAN.cpp#L221 -- https://github.com/proan/ODriveArduino/blob/4ea624266ac28df369194129cfced0f840966c72/src/ODriveCAN.cpp#L224, but I would be happy to do so with some additional guidance on desired behavior.

@CLAassistant
Copy link

CLAassistant commented Feb 28, 2026

CLA assistant check
All committers have signed the CLA.

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.

2 participants