diff options
author | root <root@lamia.panaceas.james.local> | 2015-12-01 02:22:22 +0000 |
---|---|---|
committer | root <root@lamia.panaceas.james.local> | 2015-12-01 02:22:22 +0000 |
commit | 15f6f34fe239b0b71cb2ef4fd16f278a23b52506 (patch) | |
tree | d825203b06c00556618504b0feb81b7520e618f6 /app/usb.c | |
parent | b4775420082f46cac862c8c55f23a68a2e96019d (diff) | |
download | candlestick-15f6f34fe239b0b71cb2ef4fd16f278a23b52506.tar.gz candlestick-15f6f34fe239b0b71cb2ef4fd16f278a23b52506.tar.bz2 candlestick-15f6f34fe239b0b71cb2ef4fd16f278a23b52506.zip |
fish
Diffstat (limited to 'app/usb.c')
-rw-r--r-- | app/usb.c | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -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) |