瀏覽代碼

🩹 Fix TFT image PACKED conflict

Scott Lahteine 1 年之前
父節點
當前提交
6577fba768
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. 3
    3
      Marlin/src/lcd/tft/tft_image.h

+ 3
- 3
Marlin/src/lcd/tft/tft_image.h 查看文件

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…
取消
儲存