diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2004-03-02 11:32:59 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2004-03-02 11:32:59 +0000 |
commit | 111a972b65f5fcc2ef98a5164d0367e7e50f4b09 (patch) | |
tree | 84cdb473f8c439575ac99d90f94d636e7f25e731 /docs/API | |
parent | aa5b23d6162a5ac6cbfc1d871ed9360ffa946c56 (diff) |
Made set_irq_level() an inline function, and optimized it by removing the bit shifts
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4330 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -227,7 +227,8 @@ Various int set_irq_level(int level) Sets the interrupt level (0 = lowest, 15 = highest) and returns the - previous level. + previous level. Note that you must shift the argument 4 bits to the left: + set_irq_level(level << 4); void queue_init(struct event_queue *q) |