summaryrefslogtreecommitdiff
path: root/uisimulator
diff options
context:
space:
mode:
authorJörg Hohensohn <hohensoh@rockbox.org>2004-03-13 16:59:14 +0000
committerJörg Hohensohn <hohensoh@rockbox.org>2004-03-13 16:59:14 +0000
commit253eadb525c788a9b5ac2cdc1d0e442c5cbe9a56 (patch)
tree2b8f12163ddaf814f326fa0f58d861b936dbd8ad /uisimulator
parent81e309dd1a768c2fcf2cc9e6acd16dc01f9ce360 (diff)
downloadrockbox-253eadb525c788a9b5ac2cdc1d0e442c5cbe9a56.tar.gz
rockbox-253eadb525c788a9b5ac2cdc1d0e442c5cbe9a56.zip
OK, no HIGHEST_IRQ_LEVEL defined for the sim. I use a number again, the code here is pointless anyhow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4375 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-rw-r--r--uisimulator/win32/kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/win32/kernel.c b/uisimulator/win32/kernel.c
index 9c82435df2..44ac88ae7c 100644
--- a/uisimulator/win32/kernel.c
+++ b/uisimulator/win32/kernel.c
@@ -86,7 +86,7 @@ void queue_post(struct event_queue *q, int id, void *data)
86 int wr; 86 int wr;
87 int oldlevel; 87 int oldlevel;
88 88
89 oldlevel = set_irq_level(HIGHEST_IRQ_LEVEL); 89 oldlevel = set_irq_level(15<<4);
90 wr = (q->write++) & QUEUE_LENGTH_MASK; 90 wr = (q->write++) & QUEUE_LENGTH_MASK;
91 91
92 q->events[wr].id = id; 92 q->events[wr].id = id;