forked from len0rd/rockbox
Make a few global variables static instead of global where possible
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24206 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
3d53182cef
commit
f736159e5c
3 changed files with 10 additions and 10 deletions
|
|
@ -168,14 +168,14 @@ typedef struct
|
|||
bool is_key_released;
|
||||
} usb_hid_report_t;
|
||||
|
||||
usb_hid_report_t usb_hid_reports[REPORT_ID_COUNT];
|
||||
static usb_hid_report_t usb_hid_reports[REPORT_ID_COUNT];
|
||||
|
||||
static unsigned char report_descriptor[HID_BUF_SIZE_REPORT]
|
||||
USB_DEVBSS_ATTR __attribute__((aligned(32)));
|
||||
|
||||
static unsigned char send_buffer[HID_NUM_BUFFERS][HID_BUF_SIZE_MSG]
|
||||
USB_DEVBSS_ATTR __attribute__((aligned(32)));
|
||||
size_t send_buffer_len[HID_NUM_BUFFERS];
|
||||
static size_t send_buffer_len[HID_NUM_BUFFERS];
|
||||
static int cur_buf_prepare;
|
||||
static int cur_buf_send;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue