diff options
author | Rob Purchase <shotofadds@rockbox.org> | 2008-09-16 08:09:44 +0000 |
---|---|---|
committer | Rob Purchase <shotofadds@rockbox.org> | 2008-09-16 08:09:44 +0000 |
commit | 1a08f46329e9f6d7bd55a8a9ad45db27df8a7593 (patch) | |
tree | 693d2bd43f42c2d1ba35584e3a0b08f4fcef5969 /firmware/thread.c | |
parent | 9cf7ef68c9747fe1baa16a80e28d8cb783ea63f5 (diff) | |
download | rockbox-1a08f46329e9f6d7bd55a8a9ad45db27df8a7593.tar.gz rockbox-1a08f46329e9f6d7bd55a8a9ad45db27df8a7593.zip |
Commit fs#9404 (iAudio 7 updates by vitja). Also fixes play/pause behaviour on D2.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18528 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/thread.c')
-rw-r--r-- | firmware/thread.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/firmware/thread.c b/firmware/thread.c index 6ba3bd9231..4e22c51689 100644 --- a/firmware/thread.c +++ b/firmware/thread.c | |||
@@ -777,13 +777,7 @@ static inline void core_sleep(void) | |||
777 | "msr cpsr_c, r0 \n" /* Enable IRQ, restore FIQ */ | 777 | "msr cpsr_c, r0 \n" /* Enable IRQ, restore FIQ */ |
778 | : : : "r0", "r1", "r2"); | 778 | : : : "r0", "r1", "r2"); |
779 | } | 779 | } |
780 | #elif defined(CPU_TCC77X) | 780 | #elif defined(CPU_TCC780X) || defined(CPU_TCC77X) |
781 | static inline void core_sleep(void) | ||
782 | { | ||
783 | #warning TODO: Implement core_sleep | ||
784 | enable_irq(); | ||
785 | } | ||
786 | #elif defined(CPU_TCC780X) | ||
787 | static inline void core_sleep(void) | 781 | static inline void core_sleep(void) |
788 | { | 782 | { |
789 | /* Single core only for now. Use the generic ARMv5 wait for IRQ */ | 783 | /* Single core only for now. Use the generic ARMv5 wait for IRQ */ |