summaryrefslogtreecommitdiff
path: root/apps/recorder/oscillograph.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/oscillograph.c')
-rw-r--r--apps/recorder/oscillograph.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/recorder/oscillograph.c b/apps/recorder/oscillograph.c
index c3b76c4626..25ae10f01b 100644
--- a/apps/recorder/oscillograph.c
+++ b/apps/recorder/oscillograph.c
@@ -45,7 +45,7 @@ static int drawMode = DRAW_MODE_FILLED;
45 * hardware scrolling of the display. The user can change 45 * hardware scrolling of the display. The user can change
46 * speed 46 * speed
47 */ 47 */
48Menu oscillograph(void) 48bool oscillograph(void)
49{ 49{
50 /* stores current volume value left */ 50 /* stores current volume value left */
51 int left; 51 int left;
@@ -184,7 +184,7 @@ Menu oscillograph(void)
184 if (draw) { 184 if (draw) {
185 char buf[16]; 185 char buf[16];
186 snprintf(buf, sizeof buf, "Speed: %d", -speed); 186 snprintf(buf, sizeof buf, "Speed: %d", -speed);
187 lcd_putsxy(0, (y + LCD_HEIGHT - 8) % LCD_HEIGHT, buf, 0); 187 lcd_putsxy(0, (y + LCD_HEIGHT - 8) % LCD_HEIGHT, buf);
188 lcd_update_rect(0, (y + LCD_HEIGHT - 8) % LCD_HEIGHT, 188 lcd_update_rect(0, (y + LCD_HEIGHT - 8) % LCD_HEIGHT,
189 LCD_WIDTH, 8); 189 LCD_WIDTH, 8);
190 } 190 }
@@ -197,5 +197,5 @@ Menu oscillograph(void)
197 lcd_update(); 197 lcd_update();
198 198
199 /* standard return */ 199 /* standard return */
200 return MENU_OK; 200 return false;
201} 201}