summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 7eec15baf3..6fb5e3ee47 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -290,7 +290,7 @@ bool settings_load_config(const char* file, bool apply)
290 case F_T_UINT: 290 case F_T_UINT:
291#ifdef HAVE_LCD_COLOR 291#ifdef HAVE_LCD_COLOR
292 if (settings[i].flags&F_RGB) 292 if (settings[i].flags&F_RGB)
293 *(int*)settings[i].setting = hex_to_rgb(value); 293 hex_to_rgb(value, (int*)settings[i].setting);
294 else 294 else
295#endif 295#endif
296 if (settings[i].cfg_vals == NULL) 296 if (settings[i].cfg_vals == NULL)