From 15f6f34fe239b0b71cb2ef4fd16f278a23b52506 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 1 Dec 2015 02:22:22 +0000 Subject: fish --- app/usb.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'app/usb.c') 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) -- cgit v1.2.3