Various minor clean-ups for mrobe

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27639 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Bertrik Sikken 2010-07-31 13:41:06 +00:00
parent 38e0918eb5
commit 76f4c02dc5
4 changed files with 9 additions and 10 deletions

View file

@ -224,7 +224,7 @@ static bool update_onvol_change(struct gui_wps * gwps)
#ifdef HAVE_TOUCHSCREEN #ifdef HAVE_TOUCHSCREEN
int skintouch_to_wps(struct wps_data *data) static int skintouch_to_wps(struct wps_data *data)
{ {
int offset = 0; int offset = 0;
int button = skin_get_touchaction(data, &offset); int button = skin_get_touchaction(data, &offset);
@ -274,7 +274,7 @@ int skintouch_to_wps(struct wps_data *data)
} }
return button; return button;
} }
#endif #endif /* HAVE_TOUCHSCREEN */
bool ffwd_rew(int button) bool ffwd_rew(int button)
{ {

View file

@ -47,8 +47,8 @@ static const char scroll_name[] = "scroll";
static struct scrollinfo lcd_scroll[LCD_SCROLLABLE_LINES]; static struct scrollinfo lcd_scroll[LCD_SCROLLABLE_LINES];
#ifdef HAVE_REMOTE_LCD #ifdef HAVE_REMOTE_LCD
struct scrollinfo lcd_remote_scroll[LCD_REMOTE_SCROLLABLE_LINES]; static struct scrollinfo lcd_remote_scroll[LCD_REMOTE_SCROLLABLE_LINES];
struct event_queue scroll_queue; static struct event_queue scroll_queue;
#endif #endif
struct scroll_screen_info lcd_scroll_info = struct scroll_screen_info lcd_scroll_info =

View file

@ -109,12 +109,11 @@ void lcd_remote_off(void)
/* This is the maximum transfer size to the remote (op 0x51= 7 bytes setup+79 /* This is the maximum transfer size to the remote (op 0x51= 7 bytes setup+79
* bytes screen data+xor+sum * bytes screen data+xor+sum
*/ */
unsigned char remote_payload[88]; static unsigned char remote_payload[88];
unsigned char remote_payload_size; static unsigned char remote_payload_size;
bool remote_repeat_draw=false;
unsigned char remote_draw_x, remote_draw_y, static unsigned char remote_draw_x, remote_draw_y,
remote_draw_width, remote_draw_height; remote_draw_width, remote_draw_height;
/* Monitor remote hotswap */ /* Monitor remote hotswap */
static void remote_tick(void) static void remote_tick(void)

View file

@ -127,7 +127,7 @@ size_t pcm_get_bytes_waiting(void)
} }
/* Only used when debugging */ /* Only used when debugging */
char buffer[80]; static char buffer[80];
void DSPHINT(void) __attribute__ ((section(".icode"))); void DSPHINT(void) __attribute__ ((section(".icode")));
void DSPHINT(void) void DSPHINT(void)