diff options
-rw-r--r-- | apps/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c index be0cbf9f14..8f04ab60bc 100644 --- a/apps/tree.c +++ b/apps/tree.c | |||
@@ -184,7 +184,7 @@ bool dirbrowse(char *root) | |||
184 | continue; | 184 | continue; |
185 | } | 185 | } |
186 | switch(key) { | 186 | switch(key) { |
187 | #ifdef HAVE_RECODER_KEYPAD | 187 | #if defined(SIMULATOR) && defined(HAVE_RECODER_KEYPAD) |
188 | case BUTTON_OFF: | 188 | case BUTTON_OFF: |
189 | return false; | 189 | return false; |
190 | #endif | 190 | #endif |