From d05290f7f97991f1e7b0bee3312f499271a34c3b Mon Sep 17 00:00:00 2001 From: lovyan03 <42724151+lovyan03@users.noreply.github.com> Date: Mon, 11 Nov 2024 14:18:49 +0900 Subject: [PATCH] fix compiler warning --- src/lgfx/v1/platforms/esp32/Bus_SPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lgfx/v1/platforms/esp32/Bus_SPI.cpp b/src/lgfx/v1/platforms/esp32/Bus_SPI.cpp index a0912b19..5ee139e2 100644 --- a/src/lgfx/v1/platforms/esp32/Bus_SPI.cpp +++ b/src/lgfx/v1/platforms/esp32/Bus_SPI.cpp @@ -59,7 +59,7 @@ Original Source: #endif #ifndef SPI_PIN_REG - #define SPI_PIN_REG(i) SPI_MISC_REG(i) + #define SPI_PIN_REG SPI_MISC_REG #endif #if defined (SOC_GDMA_SUPPORTED) // for C3/C6/S3