diff --git a/src/I2SClocklessVirtualLedDriver.h b/src/I2SClocklessVirtualLedDriver.h index dd234f7..a3b03ff 100644 --- a/src/I2SClocklessVirtualLedDriver.h +++ b/src/I2SClocklessVirtualLedDriver.h @@ -4,7 +4,8 @@ */ #pragma once - +#ifndef __VIRTUAL_DRIVER +#define __VIRTUAL_DRIVER #ifdef CONFIG_IDF_TARGET_ESP32S3 #define GDMA_OUT_INT_CLR_REG(i) (DR_REG_GDMA_BASE + 0x74 + (192 * i)) @@ -5429,4 +5430,5 @@ static void showPixelsTask(void *pvParameters) cont->___showPixels(); } #endif -} \ No newline at end of file +} +#endif \ No newline at end of file