Browse Source

🩹 Fix TFT image PACKED conflict

Scott Lahteine 2 years ago
parent
commit
6577fba768
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/src/lcd/tft/tft_image.h

+ 3
- 3
Marlin/src/lcd/tft/tft_image.h View File

115
 typedef colorMode_t ColorMode;
115
 typedef colorMode_t ColorMode;
116
 
116
 
117
 #ifdef __AVR__
117
 #ifdef __AVR__
118
-  #define PACKED __attribute__((__packed__))
118
+  #define IMG_PACKED __attribute__((__packed__))
119
 #else
119
 #else
120
-  #define PACKED
120
+  #define IMG_PACKED
121
 #endif
121
 #endif
122
 
122
 
123
-typedef struct PACKED {
123
+typedef struct IMG_PACKED {
124
   void *data;
124
   void *data;
125
   uint16_t width;
125
   uint16_t width;
126
   uint16_t height;
126
   uint16_t height;

Loading…
Cancel
Save