From 8148bbc988c288efdea3d3fe18854ef24a63420c Mon Sep 17 00:00:00 2001 From: fvanroie Date: Fri, 14 Apr 2023 02:36:41 +0200 Subject: [PATCH] Allow HASP_USE_GPIO37 and HASP_USE_GPIO38 to enable GPIO37 and 38 on some boards #453 --- src/dev/esp32/esp32.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dev/esp32/esp32.h b/src/dev/esp32/esp32.h index 89a9a649..7dec242d 100644 --- a/src/dev/esp32/esp32.h +++ b/src/dev/esp32/esp32.h @@ -1,4 +1,4 @@ -/* MIT License - Copyright (c) 2019-2022 Francis Van Roie +/* MIT License - Copyright (c) 2019-2023 Francis Van Roie For full license information read the LICENSE file in the project folder */ #ifndef HASP_DEVICE_ESP32_H @@ -75,7 +75,7 @@ class Esp32Device : public BaseDevice { #if defined(LANBONL8) // #warning Building for Lanbon L8 #include "lanbonl8.h" -#elif defined(M5STACK) +#elif defined(M5STACK) || defined (M5STACKLGFX) // #warning Building for M5Stack core2 #include "m5stackcore2.h" #else