I2SClocklessVirtualLedDriver icon indicating copy to clipboard operation
I2SClocklessVirtualLedDriver copied to clipboard

Please replace `#include "Arduino.h"` -> `#include <Arduino.h>`

Open zackees opened this issue 1 year ago • 0 comments

When I integrated your libraries, I left in the #include "Arduino.h" that was found in __pixeltypes.h

Even though nothing included your code, merely having this include broke uno, attiny and many others at the linking stage for timer_millis().

I have no idea why this is but I suspect it has something to do with the build system doing magic behind the scenes.

There were two fixes that I found:

  • Change it to #include <Arduino.h>
  • Just remove the arduino include completely

I went with option #2 for fastled, but option #1 would be appropriate to your library.

zackees avatar Nov 20 '24 22:11 zackees