From f07bacac9e36b8b6338bd242b6a1c580b277c179 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Sun, 7 Nov 2021 12:48:46 -0500 Subject: plugin_screen don't save settings on every plugin execution we shouldn't need to save the last_screen unless the plugin were to bypass the normal shutdown procedure if its a crash do we really want to resume the plugin? its it is intentional save the settings prior. Change-Id: I994ed256e7b9e88add0c846825a39b298e2644dd --- apps/root_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/root_menu.c b/apps/root_menu.c index 49977ae453..e4020ae6c7 100644 --- a/apps/root_menu.c +++ b/apps/root_menu.c @@ -715,7 +715,7 @@ static int load_plugin_screen(char *key) int old_global = global_status.last_screen; last_screen = next_screen; global_status.last_screen = (char)next_screen; - status_save(); + /*status_save(); //only needed if we crash */ while(loops-- > 0) /* just to keep things from getting out of hand */ { -- cgit v1.2.3