summaryrefslogtreecommitdiff
path: root/firmware/thread.c
diff options
context:
space:
mode:
authorRob Purchase <shotofadds@rockbox.org>2008-09-16 08:09:44 +0000
committerRob Purchase <shotofadds@rockbox.org>2008-09-16 08:09:44 +0000
commit1a08f46329e9f6d7bd55a8a9ad45db27df8a7593 (patch)
tree693d2bd43f42c2d1ba35584e3a0b08f4fcef5969 /firmware/thread.c
parent9cf7ef68c9747fe1baa16a80e28d8cb783ea63f5 (diff)
downloadrockbox-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.c8
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)
781static inline void core_sleep(void)
782{
783 #warning TODO: Implement core_sleep
784 enable_irq();
785}
786#elif defined(CPU_TCC780X)
787static inline void core_sleep(void) 781static 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 */