diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/lib/pluginlib_bmp.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/apps/plugins/lib/pluginlib_bmp.c b/apps/plugins/lib/pluginlib_bmp.c index 708abfa4a4..535742ec78 100644 --- a/apps/plugins/lib/pluginlib_bmp.c +++ b/apps/plugins/lib/pluginlib_bmp.c | |||
@@ -26,8 +26,7 @@ | |||
26 | #include "file.h" | 26 | #include "file.h" |
27 | #include "system.h" | 27 | #include "system.h" |
28 | 28 | ||
29 | #if LCD_DEPTH > 1 /* save is only available for color, resize for >1bpp */ | 29 | #if defined(HAVE_LCD_COLOR) && LCD_DEPTH > 1 |
30 | #ifdef HAVE_LCD_COLOR | ||
31 | #define LE16(x) (htole16(x))&0xff, ((htole16(x))>>8)&0xff | 30 | #define LE16(x) (htole16(x))&0xff, ((htole16(x))>>8)&0xff |
32 | #define LE32(x) (htole32(x))&0xff, ((htole32(x))>>8)&0xff, ((htole32(x))>>16)&0xff, ((htole32(x))>>24)&0xff | 31 | #define LE32(x) (htole32(x))&0xff, ((htole32(x))>>8)&0xff, ((htole32(x))>>16)&0xff, ((htole32(x))>>24)&0xff |
33 | /** | 32 | /** |
@@ -134,7 +133,6 @@ void simple_resize_bitmap(struct bitmap *src, struct bitmap *dst) | |||
134 | yr += yrstep; | 133 | yr += yrstep; |
135 | } | 134 | } |
136 | } | 135 | } |
137 | #endif /* LCD_DEPTH > 1 */ | ||
138 | 136 | ||
139 | #include "wrappers.h" | 137 | #include "wrappers.h" |
140 | 138 | ||