forked from len0rd/rockbox
Fixed the problems on the new version of the fire plugin (so repush it), added new actions to the pluginlib_actions to fix the keymaps on the Sansa e200 for the clock and fire plugins. Also slightly simplified the metronome plugin's key mapping with those new actions.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16148 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
8a91c19f70
commit
ebe5acfb9d
6 changed files with 265 additions and 307 deletions
|
@ -24,3 +24,11 @@ long fsqrt(long a, unsigned int fracbits);
|
|||
long cos_int(int val);
|
||||
long sin_int(int val);
|
||||
long flog(int x);
|
||||
|
||||
/* fast unsigned multiplication (16x16bit->32bit or 32x32bit->32bit,
|
||||
* whichever is faster for the architecture) */
|
||||
#ifdef CPU_ARM
|
||||
#define FMULU(a, b) ((uint32_t) (((uint32_t) (a)) * ((uint32_t) (b))))
|
||||
#else /* SH1, coldfire */
|
||||
#define FMULU(a, b) ((uint32_t) (((uint16_t) (a)) * ((uint16_t) (b))))
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue