summaryrefslogtreecommitdiff
path: root/apps/recorder/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/keyboard.c')
-rw-r--r--apps/recorder/keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c
index 9ef6021160..0fa1d32503 100644
--- a/apps/recorder/keyboard.c
+++ b/apps/recorder/keyboard.c
@@ -38,6 +38,7 @@
38#include "keyboard.h" 38#include "keyboard.h"
39#include "viewport.h" 39#include "viewport.h"
40#include "file.h" 40#include "file.h"
41#include "splash.h"
41 42
42#ifndef O_BINARY 43#ifndef O_BINARY
43#define O_BINARY 0 44#define O_BINARY 0
@@ -297,7 +298,7 @@ int kbd_input(char* text, int buflen)
297 unsigned short ch; 298 unsigned short ch;
298 unsigned char *utf8; 299 unsigned char *utf8;
299 bool cur_blink = true; /* Cursor on/off flag */ 300 bool cur_blink = true; /* Cursor on/off flag */
300 int ret; 301 int ret = 0; /* assume success */
301#ifdef KBD_MORSE_INPUT 302#ifdef KBD_MORSE_INPUT
302 bool morse_reading = false; 303 bool morse_reading = false;
303 unsigned char morse_code = 0; 304 unsigned char morse_code = 0;