Skip to content

Commit

Permalink
Omit filesystem support for ESP_PLATFORM and __SAMD51_HARMONY__
Browse files Browse the repository at this point in the history
.. because the corresponding platforms do not have FileWrapper
  • Loading branch information
MitchBradley committed Mar 1, 2024
1 parent e8dac09 commit 827e66e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/lgfx/v1/lgfx_filesystem_support.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,9 @@ namespace lgfx
#endif
#endif

#elif defined (ESP_PLATFORM) || defined(__SAMD51_HARMONY__) || defined(stdin) // ESP-IDF, Harmony, stdio
#elif defined(stdin) // ESP-IDF, Harmony, stdio
// #elif defined (ESP_PLATFORM) || defined(__SAMD51_HARMONY__) || defined(stdin) // ESP-IDF, Harmony, stdio
// esp32 and samd51 platforms do not have FileWrapper

#define LGFX_FUNCTION_GENERATOR(drawImg) \
inline bool drawImg##File(const char *path, int32_t x = 0, int32_t y = 0, int32_t maxWidth = 0, int32_t maxHeight = 0, int32_t offX = 0, int32_t offY = 0, float scale_x = 1.0f, float scale_y = 0.0f, datum_t datum = datum_t::top_left) \
Expand Down

0 comments on commit 827e66e

Please sign in to comment.