summaryrefslogtreecommitdiffstats
path: root/apps/gui/backdrop.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gui/backdrop.c')
-rw-r--r--apps/gui/backdrop.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/gui/backdrop.c b/apps/gui/backdrop.c
index 28216da4e0..e97c17ab73 100644
--- a/apps/gui/backdrop.c
+++ b/apps/gui/backdrop.c
@@ -27,9 +27,9 @@
#endif
#include "backdrop.h"
-static fb_data main_backdrop[LCD_FBHEIGHT][LCD_FBHEIGHT]
+static fb_data main_backdrop[LCD_FBHEIGHT][LCD_FBWIDTH]
__attribute__ ((aligned (16)));
-static fb_data skin_backdrop[LCD_FBHEIGHT][LCD_FBHEIGHT]
+static fb_data skin_backdrop[LCD_FBHEIGHT][LCD_FBWIDTH]
__attribute__ ((aligned (16)));
#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1
@@ -155,6 +155,11 @@ static inline void unload_remote_skin_backdrop(void)
remote_skin_backdrop_valid = false;
}
+static inline void show_remote_main_backdrop(void)
+{
+ lcd_remote_set_backdrop(NULL);
+}
+
static inline void show_remote_skin_backdrop(void)
{
/* if no wps backdrop, fall back to main backdrop */
@@ -168,11 +173,6 @@ static inline void show_remote_skin_backdrop(void)
}
}
-static line void show_remote_main_backdrop(void)
-{
- lcd_remote_set_backdrop(NULL);
-}
-
/* api functions */
bool remote_backdrop_load(enum backdrop_type bdrop,