mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
removed sleep.c, the sleep() code was moved into thread.c as the
functionality is so closely related git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1003 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
5fbeb6de75
commit
50c1ff2b2f
2 changed files with 1 additions and 29 deletions
|
|
@ -77,7 +77,7 @@ ifeq ($(DISPLAY),-DHAVE_LCD_BITMAP)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c mpeg.c \
|
SRCS = screenhack.c uibasic.c resources.c visual.c lcd-x11.c mpeg.c \
|
||||||
button-x11.c io.c sleep.c thread.c $(APPS) $(FIRMSRCS)
|
button-x11.c io.c thread.c $(APPS) $(FIRMSRCS)
|
||||||
|
|
||||||
ifdef MPEG_PLAY
|
ifdef MPEG_PLAY
|
||||||
SRCS += mpegplay.c oss_sound.c bit.c decoder.c fixed.c frame.c huffman.c layer12.c layer3.c stream.c synth.c timer.c version.c
|
SRCS += mpegplay.c oss_sound.c bit.c decoder.c fixed.c frame.c huffman.c layer12.c layer3.c stream.c synth.c timer.c version.c
|
||||||
|
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
/***************************************************************************
|
|
||||||
* __________ __ ___.
|
|
||||||
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
||||||
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
||||||
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
||||||
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
||||||
* \/ \/ \/ \/ \/
|
|
||||||
* $Id$
|
|
||||||
*
|
|
||||||
* Copyright (C) 2002 by Daniel Stenberg <daniel@haxx.se>
|
|
||||||
*
|
|
||||||
* All files in this archive are subject to the GNU General Public License.
|
|
||||||
* See the file COPYING in the source tree root for full license agreement.
|
|
||||||
*
|
|
||||||
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
||||||
* KIND, either express or implied.
|
|
||||||
*
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
#include "kernel.h"
|
|
||||||
#include <poll.h>
|
|
||||||
|
|
||||||
/* ticks is HZ per second */
|
|
||||||
void x11_sleep(int ticks)
|
|
||||||
{
|
|
||||||
/* portable subsecond "sleep" */
|
|
||||||
poll((void *)0, 0, ticks * 1000/HZ);
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue