aboutsummaryrefslogtreecommitdiffstats
path: root/apps/home_menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'apps/home_menu.cpp')
-rw-r--r--apps/home_menu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/home_menu.cpp b/apps/home_menu.cpp
index 19458e6..c261611 100644
--- a/apps/home_menu.cpp
+++ b/apps/home_menu.cpp
@@ -81,8 +81,8 @@ namespace app_home_menu {
// Initlisation of the app.
int init(Api *app_api) {
- pressed_button = new char; *pressed_button = '*';
- selected_app = new int;
+ pressed_button = new char; *pressed_button = '*';
+ selected_app = new int; *selected_app = 0; // Make sure to init the values to something known!
return 0; // return 1 when function not implemented
}