summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/codecs/lib/codeclib.h2
-rw-r--r--apps/plugins/beatbox/beatbox.c4
-rw-r--r--apps/plugins/goban/goban.h16
3 files changed, 11 insertions, 11 deletions
diff --git a/apps/codecs/lib/codeclib.h b/apps/codecs/lib/codeclib.h
index aeae5d6369..517264f3a5 100644
--- a/apps/codecs/lib/codeclib.h
+++ b/apps/codecs/lib/codeclib.h
@@ -97,7 +97,7 @@ static inline unsigned int bs_generic(unsigned int v, int mode)
97 r &= 31; 97 r &= 31;
98 } else { 98 } else {
99 r = 31 - r; 99 r = 31 - r;
100 /* If mode is constant, this is a single conditional instruction */ 100 /* If mode is constant, this is a single conditional instruction */
101 if (mode & BS_0_0 && (signed)r < 0) 101 if (mode & BS_0_0 && (signed)r < 0)
102 r += 1; 102 r += 1;
103 } 103 }
diff --git a/apps/plugins/beatbox/beatbox.c b/apps/plugins/beatbox/beatbox.c
index 0974dc3d05..b8e46bcd0c 100644
--- a/apps/plugins/beatbox/beatbox.c
+++ b/apps/plugins/beatbox/beatbox.c
@@ -106,7 +106,7 @@ PLUGIN_IRAM_DECLARE
106#define MAX_VOICES 20 // Note: 24 midi channels is the minimum general midi 106#define MAX_VOICES 20 // Note: 24 midi channels is the minimum general midi
107 // spec implementation 107 // spec implementation
108 108
109#else // Simulator requires 44100, and we can afford to use more voices 109#else // Simulator requires 44100, and we can afford to use more voices
110 110
111#define SAMPLE_RATE SAMPR_44 111#define SAMPLE_RATE SAMPR_44
112#define MAX_VOICES 48 112#define MAX_VOICES 48
@@ -120,7 +120,7 @@ PLUGIN_IRAM_DECLARE
120#undef SYNC 120#undef SYNC
121 121
122#ifdef SIMULATOR 122#ifdef SIMULATOR
123 #define SYNC 123 #define SYNC
124#endif 124#endif
125 125
126struct MIDIfile * mf IBSS_ATTR; 126struct MIDIfile * mf IBSS_ATTR;
diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h
index e30e14bfe3..b7c083ed0d 100644
--- a/apps/plugins/goban/goban.h
+++ b/apps/plugins/goban/goban.h
@@ -42,13 +42,13 @@
42#define CURSOR_COLOR LCD_RGBPACK(222,0,0) 42#define CURSOR_COLOR LCD_RGBPACK(222,0,0)
43#define MARK_COLOR LCD_RGBPACK(0,0,255) 43#define MARK_COLOR LCD_RGBPACK(0,0,255)
44#elif LCD_DEPTH > 1 /* grayscale */ 44#elif LCD_DEPTH > 1 /* grayscale */
45#define BOARD_COLOR LCD_LIGHTGRAY 45#define BOARD_COLOR LCD_LIGHTGRAY
46#define WHITE_COLOR LCD_WHITE 46#define WHITE_COLOR LCD_WHITE
47#define BLACK_COLOR LCD_BLACK 47#define BLACK_COLOR LCD_BLACK
48#define LINE_COLOR LCD_BLACK 48#define LINE_COLOR LCD_BLACK
49#define BACKGROUND_COLOR LCD_DARKGRAY 49#define BACKGROUND_COLOR LCD_DARKGRAY
50#define CURSOR_COLOR LCD_DARKGRAY 50#define CURSOR_COLOR LCD_DARKGRAY
51#define MARK_COLOR LCD_DARKGRAY 51#define MARK_COLOR LCD_DARKGRAY
52#endif 52#endif
53 53
54/* Key setups */ 54/* Key setups */
@@ -200,7 +200,7 @@
200#define GBN_BUTTON_NEXT_VAR BUTTON_PLAY 200#define GBN_BUTTON_NEXT_VAR BUTTON_PLAY
201 201
202#elif (CONFIG_KEYPAD == IRIVER_H10_PAD) 202#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
203#define GBN_BUTTON_UP BUTTON_SCROLL_UP 203#define GBN_BUTTON_UP BUTTON_SCROLL_UP
204#define GBN_BUTTON_DOWN BUTTON_SCROLL_DOWN 204#define GBN_BUTTON_DOWN BUTTON_SCROLL_DOWN
205#define GBN_BUTTON_LEFT BUTTON_LEFT 205#define GBN_BUTTON_LEFT BUTTON_LEFT
206#define GBN_BUTTON_RIGHT BUTTON_RIGHT 206#define GBN_BUTTON_RIGHT BUTTON_RIGHT