mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Fix yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31013 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b488949e3d
commit
abf1e6d790
1 changed files with 1 additions and 1 deletions
|
@ -308,13 +308,13 @@ void gui_message_loop(void)
|
|||
static void button_event(int key, bool pressed)
|
||||
{
|
||||
int new_btn = 0;
|
||||
static bool usb_connected = false;
|
||||
switch (key)
|
||||
{
|
||||
#ifdef SIMULATOR
|
||||
case USB_KEY:
|
||||
if (!pressed)
|
||||
{
|
||||
static bool usb_connected = false;
|
||||
usb_connected = !usb_connected;
|
||||
sim_trigger_usb(usb_connected);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue