Skip to content

Commit

Permalink
🩹 Fix TFT image PACKED conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Jul 23, 2022
1 parent 7726e26 commit 6577fba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Marlin/src/lcd/tft/tft_image.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6577fba

Please sign in to comment.