Browse Source

🩹 Fix TFT image PACKED conflict

FB4S_WIFI
Scott Lahteine 2 years ago
parent
commit
c9445cfc41
  1. 6
      Marlin/src/lcd/tft/tft_image.h

6
Marlin/src/lcd/tft/tft_image.h

@ -115,12 +115,12 @@ enum colorMode_t : uint8_t {
typedef colorMode_t ColorMode;
#ifdef __AVR__
#define PACKED __attribute__((__packed__))
#define IMG_PACKED __attribute__((__packed__))
#else
#define PACKED
#define IMG_PACKED
#endif
typedef struct PACKED {
typedef struct IMG_PACKED {
void *data;
uint16_t width;
uint16_t height;

Loading…
Cancel
Save