summaryrefslogtreecommitdiff
path: root/apps/recorder/blank.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/blank.c')
-rw-r--r--apps/recorder/blank.c16
1 files changed, 9 insertions, 7 deletions
diff --git a/apps/recorder/blank.c b/apps/recorder/blank.c
index 835420f63b..2c59ec66bc 100644
--- a/apps/recorder/blank.c
+++ b/apps/recorder/blank.c
@@ -24,6 +24,7 @@
24#include "lcd.h" 24#include "lcd.h"
25#include "button.h" 25#include "button.h"
26#include "kernel.h" 26#include "kernel.h"
27#include "menu.h"
27 28
28#ifdef SIMULATOR 29#ifdef SIMULATOR
29#include <stdio.h> 30#include <stdio.h>
@@ -33,7 +34,7 @@
33#define SS_TITLE "Blank" 34#define SS_TITLE "Blank"
34#define SS_TITLE_FONT 2 35#define SS_TITLE_FONT 2
35 36
36void blank(void) 37Menu blank(void)
37{ 38{
38 int w, h; 39 int w, h;
39 char *off = "[Off] to stop"; 40 char *off = "[Off] to stop";
@@ -76,15 +77,16 @@ void blank(void)
76 lcd_update(); 77 lcd_update();
77 sleep(HZ); 78 sleep(HZ);
78 79
79 lcd_clear_display(); 80 lcd_clear_display();
80 lcd_update(); 81 lcd_update();
81 82
82 while(1) { 83 while(1) {
83 if(button_get(false)) 84 if(button_get(false))
84 return; 85 return MENU_OK;
85 sleep(HZ/10); 86 sleep(HZ/10);
86 } 87 }
87 88
89 return MENU_OK;
88} 90}
89 91
90#endif 92#endif