mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-26 05:17:17 +00:00
🩹 Fix TFT image packing
This commit is contained in:
parent
a03516a9f4
commit
f9154eca8c
@ -114,7 +114,13 @@ enum colorMode_t : uint8_t {
|
||||
|
||||
typedef colorMode_t ColorMode;
|
||||
|
||||
typedef struct __attribute__((__packed__)) {
|
||||
#ifdef __AVR__
|
||||
#define IMG_PACKED __attribute__((__packed__))
|
||||
#else
|
||||
#define IMG_PACKED
|
||||
#endif
|
||||
|
||||
typedef struct IMG_PACKED {
|
||||
void *data;
|
||||
uint16_t width;
|
||||
uint16_t height;
|
||||
|
Loading…
Reference in New Issue
Block a user