File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -379,7 +379,7 @@ class Adafruit_SPITFT : public Adafruit_GFX {
379379 PORTreg_t dcPort; // /< PORT register for data/command
380380#endif // end HAS_PORT_SET_CLR
381381#endif // end USE_FAST_PINIO
382- #if ! defined(ARDUINO_STM32_FEATHER )
382+ #if defined(__cplusplus) && (__cplusplus >= 201100 )
383383 union {
384384#endif
385385 struct { // Values specific to HARDWARE SPI:
@@ -452,7 +452,7 @@ class Adafruit_SPITFT : public Adafruit_GFX {
452452 int8_t _rd; // /< Read strobe pin # (or -1)
453453 bool wide = 0 ; // /< If true, is 16-bit interface
454454 } tft8; // /< Parallel interface settings
455- #if ! defined(ARDUINO_STM32_FEATHER )
455+ #if defined(__cplusplus) && (__cplusplus >= 201100 )
456456 }; // /< Only one interface is active
457457#endif
458458#if defined(USE_SPI_DMA) // Used by hardware SPI and tft8
Original file line number Diff line number Diff line change 11name =Adafruit GFX Library
2- version =1.4.6
2+ version =1.4.7
33author =Adafruit
44maintainer =Adafruit <
[email protected] >
55sentence =Adafruit GFX graphics core library, this is the ' core' class that all our other graphics libraries derive from.
You can’t perform that action at this time.
0 commit comments