Skip to content

Commit

Permalink
Another try at enabling filesystem support without breaking IDF
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchBradley committed Mar 1, 2024
1 parent 827e66e commit 790ab46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lgfx/v1/lgfx_filesystem_support.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,9 @@ namespace lgfx
#endif
#endif

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

#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 790ab46

Please sign in to comment.