Skip to content

Commit

Permalink
Merge pull request #131 from reconbot/reconbot/esp8266-arduino-fix
Browse files Browse the repository at this point in the history
Define CONFIG_ESP32_SPI_AVAILABLE if ESP32 is defined
  • Loading branch information
lexus2k authored Dec 2, 2024
2 parents 15d9fce + 5511424 commit 3980f9a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/lcd_hal/arduino/io.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,13 @@ typedef uint8_t lcduint_t;
/** The macro is defined when SPI library is available */
#define CONFIG_ARDUINO_SPI_AVAILABLE

#define CONFIG_ESP32_SPI_AVAILABLE

#if defined(ESP32)
/** The macro is defined when ESP32 spi implementation is available */
#define CONFIG_ESP32_SPI_AVAILABLE
/** The macro is defined when ESP32 spi2 implementation is available */
#define CONFIG_ARDUINO_SPI2_AVAILABLE
/** The macro is defined when composite audio support is available */
/** The macro is defined when VGA monitor control is available directly from controller */
#define CONFIG_VGA_AVAILABLE
#endif

Expand Down

0 comments on commit 3980f9a

Please sign in to comment.