Parcourir la source

🩹 Fix TFT image PACKED conflict

Scott Lahteine il y a 1 an
Parent
révision
6577fba768
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3
    3
      Marlin/src/lcd/tft/tft_image.h

+ 3
- 3
Marlin/src/lcd/tft/tft_image.h Voir le fichier

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

Chargement…
Annuler
Enregistrer