Skip to content

Commit 291c45f

Browse files
relocate #define that not related to ESP_ARDUINO_VERSION_MAJOR
1 parent 44bc8a7 commit 291c45f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/databus/Arduino_ESP32LCD8.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
#include "Arduino_DataBus.h"
44

55
#if defined(ESP32) && (CONFIG_IDF_TARGET_ESP32S3)
6-
#if (!defined(ESP_ARDUINO_VERSION_MAJOR)) || (ESP_ARDUINO_VERSION_MAJOR < 3)
76

87
#ifndef LCD_MAX_PIXELS_AT_ONCE
98
#define LCD_MAX_PIXELS_AT_ONCE 2046
@@ -12,6 +11,8 @@
1211
#define USE_DMA_THRESHOLD 6
1312
#endif
1413

14+
#if (!defined(ESP_ARDUINO_VERSION_MAJOR)) || (ESP_ARDUINO_VERSION_MAJOR < 3)
15+
1516
class Arduino_ESP32LCD8 : public Arduino_DataBus
1617
{
1718
public:

0 commit comments

Comments
 (0)