MCP251XFD icon indicating copy to clipboard operation
MCP251XFD copied to clipboard

Code does not compile - du to strange missing definitions and unmatched #ifdefs

Open jarekkt opened this issue 2 years ago • 2 comments

Hi,

I have tried to compile your code, but it fails - see two obvious things:

MCP251XFD/MCP251XFD.c:166:8: error: 'MCP251XFD' has no member named 'GPIOsOutLevel' 166 | pComp->GPIOsOutLevel = pConf->GPIOsOutLevel; // [C++] Transfer GPIOs output level at startup configuration, because the of the class

MCP251XFD.c:2221: error: unterminated #ifdef 2221 | #ifdef USE_ADVANCED_INTERFACE

jarekkt avatar Nov 22 '23 14:11 jarekkt

This seems to happened in the merge 2 months ago....

jarekkt avatar Nov 22 '23 14:11 jarekkt

Hi, you're right, it's a faulty merge

I'm sorry for that, for the moment I'm working on this driver on a new revision.

The last commit should make it work again. If not let me know and stay at the last non-broken commit.

Emandhal avatar Nov 22 '23 18:11 Emandhal