Skip to content

Compilation error for ESP32-S3. [-Werror=misleading-indentation]Β #3697

@wailay

Description

@wailay

I am using the ESP32-S3 and getting a compilation error on this header file
TFT_eSPI/Processors/TFT_eSPI_ESP32_S3

components/TFT_eSPI/Processors/TFT_eSPI_ESP32_S3.h:559:25: error: this 'while' clause does not guard... [-Werror=misleading-indentation]      
  559 |                         while (*_spi_cmd & SPI_UPDATE);  \

Switching target back to esp32 and the compilation succeeds

Using vscode with ESP-IDF v5.4.0
TFT eSPI V2.5.43, GC9A01 driver with SPI

compiler:
xtensa-esp-elf\\esp-14.2.0_20241119\\xtensa-esp-elf\\bin\\xtensa-esp32-elf-gcc.exe",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions