forked from len0rd/rockbox
[BugFix] headphone should be removed on first toggle
Change-Id: I10a77f210896a9ec317f9cbc7de21dccabafe426
This commit is contained in:
parent
31ae252dcc
commit
82dcf32736
1 changed files with 1 additions and 1 deletions
|
@ -324,7 +324,7 @@ static void button_event(int key, bool pressed)
|
|||
case SDLK_p:
|
||||
if (!pressed)
|
||||
{
|
||||
static bool hp_connected = false;
|
||||
static bool hp_connected = true;
|
||||
hp_connected = !hp_connected;
|
||||
sim_trigger_hp(hp_connected);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue