summaryrefslogtreecommitdiff
path: root/apps/recorder/wormlet.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/recorder/wormlet.c')
-rw-r--r--apps/recorder/wormlet.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/recorder/wormlet.c b/apps/recorder/wormlet.c
index acebbad8bf..0edd550966 100644
--- a/apps/recorder/wormlet.c
+++ b/apps/recorder/wormlet.c
@@ -34,6 +34,7 @@
34#include "menu.h" 34#include "menu.h"
35#include "rtc.h" 35#include "rtc.h"
36#include "lang.h" 36#include "lang.h"
37#include "screens.h"
37 38
38/* size of the field the worm lives in */ 39/* size of the field the worm lives in */
39#define FIELD_RECT_X 1 40#define FIELD_RECT_X 1
@@ -1888,7 +1889,7 @@ extern bool use_old_rect;
1888/** 1889/**
1889 * Main entry point from the menu to start the game control. 1890 * Main entry point from the menu to start the game control.
1890 */ 1891 */
1891Menu wormlet(void) 1892bool wormlet(void)
1892{ 1893{
1893 bool wormDead = false; 1894 bool wormDead = false;
1894 int button; 1895 int button;
@@ -1974,6 +1975,10 @@ Menu wormlet(void)
1974 use_remote = true; 1975 use_remote = true;
1975 } 1976 }
1976 break; 1977 break;
1978
1979 case SYS_USB_CONNECTED:
1980 usb_screen();
1981 return true;
1977 } 1982 }
1978 } while (button != BUTTON_PLAY && 1983 } while (button != BUTTON_PLAY &&
1979 button != BUTTON_OFF && button != BUTTON_ON); 1984 button != BUTTON_OFF && button != BUTTON_ON);
@@ -2007,7 +2012,7 @@ Menu wormlet(void)
2007 } 2012 }
2008 while (button != BUTTON_OFF); 2013 while (button != BUTTON_OFF);
2009 2014
2010 return MENU_OK; 2015 return false;
2011} 2016}
2012 2017
2013 2018