Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jarekkt opened this issue Nov 22, 2023 · 2 comments

Comments

@jarekkt
Copy link

jarekkt commented Nov 22, 2023

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
Copy link
Author

jarekkt commented Nov 22, 2023

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

Emandhal added a commit that referenced this issue Nov 22, 2023
@Emandhal
Copy link
Owner

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.

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

No branches or pull requests

2 participants