summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/gui/icon.c8
-rw-r--r--firmware/export/config-mrobe500.h3
2 files changed, 9 insertions, 2 deletions
diff --git a/apps/gui/icon.c b/apps/gui/icon.c
index 3e1e793194..6a5ff708d1 100644
--- a/apps/gui/icon.c
+++ b/apps/gui/icon.c
@@ -39,10 +39,14 @@
#define DEFAULT_VIEWER_BMP "viewers"
#define DEFAULT_REMOTE_VIEWER_BMP "remote_viewers"
-/* These should probably be moved to config-<target>.h */
+/* These can be defined in config-<target>.h, if it is not provide defaults */
+#if !defined(MAX_ICON_HEIGHT)
#define MAX_ICON_HEIGHT 24
-#define MAX_ICON_WIDTH 24
+#endif
+#if !defined(MAX_ICON_WIDTH)
+#define MAX_ICON_WIDTH 24
+#endif
/* We dont actually do anything with these pointers,
but they need to be grouped like this to save code
diff --git a/firmware/export/config-mrobe500.h b/firmware/export/config-mrobe500.h
index ab5e37d20b..29591ce99a 100644
--- a/firmware/export/config-mrobe500.h
+++ b/firmware/export/config-mrobe500.h
@@ -100,6 +100,9 @@
#define LCD_DEPTH 16 /* 65k colours */
#define LCD_PIXELFORMAT RGB565 /* rgb565 */
+#define MAX_ICON_HEIGHT 35
+#define MAX_ICON_WIDTH 35
+
/* Define this if your LCD can be put to sleep. HAVE_LCD_ENABLE
should be defined as well. */
#define HAVE_LCD_SLEEP