summaryrefslogtreecommitdiffstats
path: root/app/usb.c
diff options
context:
space:
mode:
Diffstat (limited to 'app/usb.c')
-rw-r--r--app/usb.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/app/usb.c b/app/usb.c
index d464ea4..3f5404a 100644
--- a/app/usb.c
+++ b/app/usb.c
@@ -66,19 +66,8 @@ static int time_since_sof;
void usb_tick(void)
{
-#ifndef SLIM
-char buf[16];
-#endif
-
time_since_sof++;
-
-if (time_since_sof>100) usb_running=0;
-
-#ifndef SLIM
-sprintf(buf,"%d",time_since_sof);
-lcd_write(buf,0,0);
-#endif
-
+if (time_since_sof>3000) usb_running=0;
}
static void usb_sof(void)