forked from len0rd/rockbox
More tabs removed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24157 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
05778b501d
commit
5cebdcd06b
5 changed files with 18 additions and 18 deletions
|
@ -97,7 +97,7 @@ static inline unsigned int bs_generic(unsigned int v, int mode)
|
||||||
r &= 31;
|
r &= 31;
|
||||||
} else {
|
} else {
|
||||||
r = 31 - r;
|
r = 31 - r;
|
||||||
/* If mode is constant, this is a single conditional instruction */
|
/* If mode is constant, this is a single conditional instruction */
|
||||||
if (mode & BS_0_0 && (signed)r < 0)
|
if (mode & BS_0_0 && (signed)r < 0)
|
||||||
r += 1;
|
r += 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -106,7 +106,7 @@ PLUGIN_IRAM_DECLARE
|
||||||
#define MAX_VOICES 20 // Note: 24 midi channels is the minimum general midi
|
#define MAX_VOICES 20 // Note: 24 midi channels is the minimum general midi
|
||||||
// spec implementation
|
// spec implementation
|
||||||
|
|
||||||
#else // Simulator requires 44100, and we can afford to use more voices
|
#else // Simulator requires 44100, and we can afford to use more voices
|
||||||
|
|
||||||
#define SAMPLE_RATE SAMPR_44
|
#define SAMPLE_RATE SAMPR_44
|
||||||
#define MAX_VOICES 48
|
#define MAX_VOICES 48
|
||||||
|
@ -120,7 +120,7 @@ PLUGIN_IRAM_DECLARE
|
||||||
#undef SYNC
|
#undef SYNC
|
||||||
|
|
||||||
#ifdef SIMULATOR
|
#ifdef SIMULATOR
|
||||||
#define SYNC
|
#define SYNC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
struct MIDIfile * mf IBSS_ATTR;
|
struct MIDIfile * mf IBSS_ATTR;
|
||||||
|
|
|
@ -42,13 +42,13 @@
|
||||||
#define CURSOR_COLOR LCD_RGBPACK(222,0,0)
|
#define CURSOR_COLOR LCD_RGBPACK(222,0,0)
|
||||||
#define MARK_COLOR LCD_RGBPACK(0,0,255)
|
#define MARK_COLOR LCD_RGBPACK(0,0,255)
|
||||||
#elif LCD_DEPTH > 1 /* grayscale */
|
#elif LCD_DEPTH > 1 /* grayscale */
|
||||||
#define BOARD_COLOR LCD_LIGHTGRAY
|
#define BOARD_COLOR LCD_LIGHTGRAY
|
||||||
#define WHITE_COLOR LCD_WHITE
|
#define WHITE_COLOR LCD_WHITE
|
||||||
#define BLACK_COLOR LCD_BLACK
|
#define BLACK_COLOR LCD_BLACK
|
||||||
#define LINE_COLOR LCD_BLACK
|
#define LINE_COLOR LCD_BLACK
|
||||||
#define BACKGROUND_COLOR LCD_DARKGRAY
|
#define BACKGROUND_COLOR LCD_DARKGRAY
|
||||||
#define CURSOR_COLOR LCD_DARKGRAY
|
#define CURSOR_COLOR LCD_DARKGRAY
|
||||||
#define MARK_COLOR LCD_DARKGRAY
|
#define MARK_COLOR LCD_DARKGRAY
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Key setups */
|
/* Key setups */
|
||||||
|
@ -200,7 +200,7 @@
|
||||||
#define GBN_BUTTON_NEXT_VAR BUTTON_PLAY
|
#define GBN_BUTTON_NEXT_VAR BUTTON_PLAY
|
||||||
|
|
||||||
#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
|
#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
|
||||||
#define GBN_BUTTON_UP BUTTON_SCROLL_UP
|
#define GBN_BUTTON_UP BUTTON_SCROLL_UP
|
||||||
#define GBN_BUTTON_DOWN BUTTON_SCROLL_DOWN
|
#define GBN_BUTTON_DOWN BUTTON_SCROLL_DOWN
|
||||||
#define GBN_BUTTON_LEFT BUTTON_LEFT
|
#define GBN_BUTTON_LEFT BUTTON_LEFT
|
||||||
#define GBN_BUTTON_RIGHT BUTTON_RIGHT
|
#define GBN_BUTTON_RIGHT BUTTON_RIGHT
|
||||||
|
|
|
@ -243,12 +243,12 @@ redraw:
|
||||||
goto redraw;
|
goto redraw;
|
||||||
}
|
}
|
||||||
else if(button & BUTTON_POWER)
|
else if(button & BUTTON_POWER)
|
||||||
{
|
{
|
||||||
if(poweroff_repeat++ > 8)
|
if(poweroff_repeat++ > 8)
|
||||||
power_off();
|
power_off();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
poweroff_repeat = 0;
|
poweroff_repeat = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -308,7 +308,7 @@ void
|
||||||
lcd_icon(int icon, bool enable)
|
lcd_icon(int icon, bool enable)
|
||||||
{
|
{
|
||||||
lcd_print_icon(icons[icon].xpos, icons[icon].row, enable,
|
lcd_print_icon(icons[icon].xpos, icons[icon].row, enable,
|
||||||
icons[icon].bitmap);
|
icons[icon].bitmap);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* HAVE_LCD_CHARCELLS */
|
#endif /* HAVE_LCD_CHARCELLS */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue