mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-16 22:37:35 +00:00
🩹 Fix TFT image PACKED conflict
This commit is contained in:
parent
beacb73d93
commit
c9445cfc41
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue