diff options
author | Thomas Martitz <kugel@rockbox.org> | 2014-02-05 22:58:45 +0100 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-02-05 22:58:45 +0100 |
commit | 457bdfb6fc3f940aa834aa5483bea7bc95610c3d (patch) | |
tree | af5cfb9514dcd73b0733c1c0ff328ad562e68c3d | |
parent | f005d841f292287326b8b9d1a74aac9bf3abbfc3 (diff) | |
download | rockbox-457bdfb6fc3f940aa834aa5483bea7bc95610c3d.tar.gz rockbox-457bdfb6fc3f940aa834aa5483bea7bc95610c3d.zip |
ypr0: Remove SDL copy&paste left-overs
Change-Id: Ie3e90070328798c398099c55f23665bfefdcf397
-rw-r--r-- | firmware/target/hosted/samsungypr/ypr0/system-ypr0.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c b/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c index f8fc9c7a86..6232df4a22 100644 --- a/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c +++ b/firmware/target/hosted/samsungypr/ypr0/system-ypr0.c | |||
@@ -25,10 +25,6 @@ | |||
25 | #include "panic.h" | 25 | #include "panic.h" |
26 | #include "debug.h" | 26 | #include "debug.h" |
27 | 27 | ||
28 | #if defined(HAVE_SDL_AUDIO) || defined(HAVE_SDL_THREADS) || defined(HAVE_SDL) | ||
29 | #include <SDL.h> | ||
30 | #endif | ||
31 | |||
32 | #include "ascodec.h" | 28 | #include "ascodec.h" |
33 | #include "gpio-ypr.h" | 29 | #include "gpio-ypr.h" |
34 | 30 | ||
@@ -47,11 +43,6 @@ void system_init(void) | |||
47 | int *s; | 43 | int *s; |
48 | /* fake stack, OS manages size (and growth) */ | 44 | /* fake stack, OS manages size (and growth) */ |
49 | stackbegin = stackend = (uintptr_t*)&s; | 45 | stackbegin = stackend = (uintptr_t*)&s; |
50 | |||
51 | #if defined(HAVE_SDL_AUDIO) || defined(HAVE_SDL_THREADS) || defined(HAVE_SDL) | ||
52 | SDL_Init(0); /* need this if using any SDL subsystem */ | ||
53 | #endif | ||
54 | |||
55 | /* Here begins our platform specific initilization for various things */ | 46 | /* Here begins our platform specific initilization for various things */ |
56 | ascodec_init(); | 47 | ascodec_init(); |
57 | gpio_init(); | 48 | gpio_init(); |