-
Notifications
You must be signed in to change notification settings - Fork 157
Open
Description
As highlighted in this example, HWInitFunction should be set to CubeMX's CAN hardware initialisation function. But what for? The CubeMX generated code already calls the function (as the example neatly shows). The setting only seems to be used to call it again during CO_CANmodule_init(), which is called by CANopenNode's CO_CANinit(). Is this redundant? Is there another use case?
I ask, because the function is typically file scoped to main.c. I don't want to expose it wider if I don't have to.
Metadata
Metadata
Assignees
Labels
No labels