From 52c5153271a751d8ebdb49bd471ed874d3481bce Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 25 Aug 2021 11:47:59 +0200 Subject: [PATCH] fix pgmspace include statement to work e.g. for ESP32 MCUs --- src/LedControl.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/LedControl.h b/src/LedControl.h index cdfaa1f5..415f266d 100644 --- a/src/LedControl.h +++ b/src/LedControl.h @@ -27,7 +27,13 @@ #ifndef LedControl_h #define LedControl_h -#include + +#if (defined(__AVR__)) +#include +#else +#include +#endif + #if (ARDUINO >= 100) #include