diff options
Diffstat (limited to 'apps/recorder/recording.c')
-rw-r--r-- | apps/recorder/recording.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c index 392f20d9ed..2c39c367b8 100644 --- a/apps/recorder/recording.c +++ b/apps/recorder/recording.c | |||
@@ -166,6 +166,10 @@ int rec_create_directory(void) | |||
166 | 166 | ||
167 | bool recording_screen(void) | 167 | bool recording_screen(void) |
168 | { | 168 | { |
169 | #ifndef HAVE_RECORDING_KEYPAD | ||
170 | splash(HZ*2, true, "Recording not supported yet"); | ||
171 | return false; | ||
172 | #else | ||
169 | int button; | 173 | int button; |
170 | bool done = false; | 174 | bool done = false; |
171 | char buf[32]; | 175 | char buf[32]; |
@@ -280,13 +284,12 @@ bool recording_screen(void) | |||
280 | } | 284 | } |
281 | break; | 285 | break; |
282 | 286 | ||
283 | #if (BUTTON_UP != BUTTON_PLAY) /* FixMe, this is just to make the Ondio compile */ | ||
284 | case BUTTON_UP: | 287 | case BUTTON_UP: |
285 | cursor--; | 288 | cursor--; |
286 | adjust_cursor(); | 289 | adjust_cursor(); |
287 | update_countdown = 1; /* Update immediately */ | 290 | update_countdown = 1; /* Update immediately */ |
288 | break; | 291 | break; |
289 | #endif | 292 | |
290 | case BUTTON_DOWN: | 293 | case BUTTON_DOWN: |
291 | cursor++; | 294 | cursor++; |
292 | adjust_cursor(); | 295 | adjust_cursor(); |
@@ -619,8 +622,10 @@ bool recording_screen(void) | |||
619 | reload_directory(); | 622 | reload_directory(); |
620 | 623 | ||
621 | return been_in_usb_mode; | 624 | return been_in_usb_mode; |
625 | #endif | ||
622 | } | 626 | } |
623 | 627 | ||
628 | #ifdef HAVE_RECORDER_KEYPAD | ||
624 | bool f2_rec_screen(void) | 629 | bool f2_rec_screen(void) |
625 | { | 630 | { |
626 | bool exit = false; | 631 | bool exit = false; |
@@ -813,3 +818,4 @@ bool f3_rec_screen(void) | |||
813 | 818 | ||
814 | return false; | 819 | return false; |
815 | } | 820 | } |
821 | #endif | ||