mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-19 10:02:45 -05:00
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
This commit is contained in:
parent
81e309dd1a
commit
253eadb525
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ void queue_post(struct event_queue *q, int id, void *data)
|
||||||
int wr;
|
int wr;
|
||||||
int oldlevel;
|
int oldlevel;
|
||||||
|
|
||||||
oldlevel = set_irq_level(HIGHEST_IRQ_LEVEL);
|
oldlevel = set_irq_level(15<<4);
|
||||||
wr = (q->write++) & QUEUE_LENGTH_MASK;
|
wr = (q->write++) & QUEUE_LENGTH_MASK;
|
||||||
|
|
||||||
q->events[wr].id = id;
|
q->events[wr].id = id;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue