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

Multiple Definition Error if <ADC_util.h> is included in multiple source files #73

Open
ridefox-ahirani opened this issue Feb 16, 2021 · 3 comments

Comments

@ridefox-ahirani
Copy link

ridefox-ahirani commented Feb 16, 2021

To recreate, generate a header file with

#include <ADC.h>
#include <ADC_util.h>

and include that header in multiple compilation units. Linker will throw errors where functions in ADC_utils.h are defined multiple times in different compilation units.

@grantHarris
Copy link

I'm running into this as well. Any solution?

@BeinerF
Copy link

BeinerF commented May 7, 2021

same here

@pedvide
Copy link
Owner

pedvide commented Nov 27, 2022

Are you using the latest version of this library?

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

4 participants