From 0df38260e86e05a2cc61f41c4b43612a111b342a Mon Sep 17 00:00:00 2001 From: Maurus Cuelenaere Date: Fri, 19 Dec 2008 23:35:42 +0000 Subject: Enable sleep() on MIPS targets git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19493 a1c6a512-1295-4272-9138-f99709370657 --- firmware/thread.c | 1 + 1 file changed, 1 insertion(+) diff --git a/firmware/thread.c b/firmware/thread.c index 70dba6115e..f779ca3ae0 100644 --- a/firmware/thread.c +++ b/firmware/thread.c @@ -1076,6 +1076,7 @@ static inline void core_sleep(void) ".set mips0 \n" ::: "t0", "t1", "t2" ); + enable_irq(); } -- cgit v1.2.3