pedvide / ADC

Teensy 4/3.x/LC ADC implementation
MIT License
210 stars 69 forks source link

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

Open ridefox-ahirani opened 3 years ago

ridefox-ahirani commented 3 years ago

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 commented 3 years ago

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

BeinerF commented 3 years ago

same here

pedvide commented 1 year ago

Are you using the latest version of this library?