Skip to content

Commit

Permalink
fix buildtest
Browse files Browse the repository at this point in the history
  • Loading branch information
lovyan03 committed Oct 5, 2023
1 parent 20cdb22 commit aada45c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Test/build_test/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#define LGFX_USE_V1
#endif

#if defined ( ARDUINO ) && defined ( ESP32 )
#if __has_include(<SPIFFS.h>)
#include <SPIFFS.h>
#endif

Expand Down Expand Up @@ -197,7 +197,7 @@ void test(LGFX_Device &lcd)
lcd.drawJpg((uint8_t*)nullptr, 0, 0, 0);
lcd.drawQoi((uint8_t*)nullptr, 0, 0, 0);

#if defined ( ARDUINO ) && defined ( ESP32 )
#if __has_include(<SPIFFS.h>)
lcd.drawBmpFile(SPIFFS, "/test.bmp");
lcd.drawPngFile(SPIFFS, "/test.png");
lcd.drawJpgFile(SPIFFS, "/test.jpg");
Expand Down

0 comments on commit aada45c

Please sign in to comment.