1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-26 13:25:54 +00:00

🩹 Fix TFT image PACKED conflict

This commit is contained in:
Scott Lahteine 2022-07-22 21:46:38 -05:00
parent 7726e26ac0
commit 6577fba768

View File

@ -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;