Open JacobChrist opened 7 years ago
It's because (I believe) you have an inline
in a header file, but the "inlined" function in a C file. If you want it inline
then the code should be in the header file too (which also makes it static). Otherwise (which I'd suggest), remove the inline
- you can't inline
code that's in a separate TU, so it's pretty much pointless.
I was just trying to use inline in the hopes of not changing the timing of the original code (pre non-blocking code ) by turning in to functions. Probably not a big issue since the PIC32 is so fast compared to ADC sampling speed.
Just noticed this warning when compiling non-blocking analogRead funcitons. I'm not sure why I didn't notice it before nor am I sure what it means. But it bug me.