summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/recorder/keyboard.c3
-rw-r--r--apps/recorder/radio.c3
-rw-r--r--apps/recorder/recording.c3
-rw-r--r--apps/screens.c2
4 files changed, 7 insertions, 4 deletions
diff --git a/apps/recorder/keyboard.c b/apps/recorder/keyboard.c
index 8acccdafd1..1c9ba7bed4 100644
--- a/apps/recorder/keyboard.c
+++ b/apps/recorder/keyboard.c
@@ -240,6 +240,7 @@ int kbd_input(char* text, int buflen)
kbd_spellchar(line[y][x]);
break;
+#if (BUTTON_UP != BUTTON_PLAY) /* FixMe, this is just to make the Ondio compile */
case BUTTON_UP:
case BUTTON_UP | BUTTON_REPEAT:
if (y)
@@ -248,7 +249,7 @@ int kbd_input(char* text, int buflen)
y = KEYBOARD_LINES - 1;
kbd_spellchar(line[y][x]);
break;
-
+#endif
case BUTTON_F3:
case BUTTON_F3 | BUTTON_REPEAT:
/* backspace */
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index d34503b666..6b056dfe31 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -398,6 +398,7 @@ bool radio_screen(void)
update_screen = true;
break;
+#if (BUTTON_UP != BUTTON_PLAY) /* FixMe, this is just to make the Ondio compile */
case BUTTON_PLAY:
if(!screen_freeze)
{
@@ -411,7 +412,7 @@ bool radio_screen(void)
screen_freeze = false;
}
break;
-
+#endif
case SYS_USB_CONNECTED:
/* Only accept USB connection when not recording */
if(mpeg_status() != MPEG_STATUS_RECORD)
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index 20b5fa016f..392f20d9ed 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -280,12 +280,13 @@ bool recording_screen(void)
}
break;
+#if (BUTTON_UP != BUTTON_PLAY) /* FixMe, this is just to make the Ondio compile */
case BUTTON_UP:
cursor--;
adjust_cursor();
update_countdown = 1; /* Update immediately */
break;
-
+#endif
case BUTTON_DOWN:
cursor++;
adjust_cursor();
diff --git a/apps/screens.c b/apps/screens.c
index 1cf74acd2a..ebb7981bd1 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -1085,7 +1085,7 @@ bool set_time_screen(const char* string, struct tm *tm)
case BUTTON_ON:
done = true;
break;
-#if (BUTTON_ON != BUTTON_OFF)
+#if (BUTTON_ON != BUTTON_OFF) /* FixMe, this is just to make the Ondio compile */
case BUTTON_OFF:
done = true;
tm->tm_year = -1;