summaryrefslogtreecommitdiffstats
path: root/default_recovery_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'default_recovery_ui.c')
-rw-r--r--default_recovery_ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/default_recovery_ui.c b/default_recovery_ui.c
index a2e4beafe..d4e620403 100644
--- a/default_recovery_ui.c
+++ b/default_recovery_ui.c
@@ -29,11 +29,11 @@ char* MENU_ITEMS[] = { "reboot system now",
"wipe cache partition",
NULL };
-int device_toggle_display(char* key_pressed, int key_code) {
+int device_toggle_display(volatile char* key_pressed, int key_code) {
return key_code == KEY_HOME;
}
-int device_reboot_now(char* key_pressed, int key_code) {
+int device_reboot_now(volatile char* key_pressed, int key_code) {
return 0;
}