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:
parent
38e0918eb5
commit
76f4c02dc5
4 changed files with 9 additions and 10 deletions
|
@ -224,7 +224,7 @@ static bool update_onvol_change(struct gui_wps * gwps)
|
|||
|
||||
|
||||
#ifdef HAVE_TOUCHSCREEN
|
||||
int skintouch_to_wps(struct wps_data *data)
|
||||
static int skintouch_to_wps(struct wps_data *data)
|
||||
{
|
||||
int offset = 0;
|
||||
int button = skin_get_touchaction(data, &offset);
|
||||
|
@ -274,7 +274,7 @@ int skintouch_to_wps(struct wps_data *data)
|
|||
}
|
||||
return button;
|
||||
}
|
||||
#endif
|
||||
#endif /* HAVE_TOUCHSCREEN */
|
||||
|
||||
bool ffwd_rew(int button)
|
||||
{
|
||||
|
|
|
@ -47,8 +47,8 @@ static const char scroll_name[] = "scroll";
|
|||
static struct scrollinfo lcd_scroll[LCD_SCROLLABLE_LINES];
|
||||
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
struct scrollinfo lcd_remote_scroll[LCD_REMOTE_SCROLLABLE_LINES];
|
||||
struct event_queue scroll_queue;
|
||||
static struct scrollinfo lcd_remote_scroll[LCD_REMOTE_SCROLLABLE_LINES];
|
||||
static struct event_queue scroll_queue;
|
||||
#endif
|
||||
|
||||
struct scroll_screen_info lcd_scroll_info =
|
||||
|
|
|
@ -109,12 +109,11 @@ void lcd_remote_off(void)
|
|||
/* This is the maximum transfer size to the remote (op 0x51= 7 bytes setup+79
|
||||
* bytes screen data+xor+sum
|
||||
*/
|
||||
unsigned char remote_payload[88];
|
||||
unsigned char remote_payload_size;
|
||||
bool remote_repeat_draw=false;
|
||||
static unsigned char remote_payload[88];
|
||||
static unsigned char remote_payload_size;
|
||||
|
||||
unsigned char remote_draw_x, remote_draw_y,
|
||||
remote_draw_width, remote_draw_height;
|
||||
static unsigned char remote_draw_x, remote_draw_y,
|
||||
remote_draw_width, remote_draw_height;
|
||||
|
||||
/* Monitor remote hotswap */
|
||||
static void remote_tick(void)
|
||||
|
|
|
@ -127,7 +127,7 @@ size_t pcm_get_bytes_waiting(void)
|
|||
}
|
||||
|
||||
/* Only used when debugging */
|
||||
char buffer[80];
|
||||
static char buffer[80];
|
||||
|
||||
void DSPHINT(void) __attribute__ ((section(".icode")));
|
||||
void DSPHINT(void)
|
||||
|
|
Loading…
Reference in a new issue