diff options
author | William Wilgus <wilgus.william@gmail.com> | 2024-05-30 12:26:19 -0400 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2024-06-02 17:09:24 -0400 |
commit | 82dcf327365d0c494e51a9a07f5c8b543188c065 (patch) | |
tree | 1ef0e335464977a0a40fd0ad74bb4b3938601f13 | |
parent | 31ae252dcc75083edd4c8bf9665601395aae977b (diff) | |
download | rockbox-82dcf32736.tar.gz rockbox-82dcf32736.zip |
[BugFix] headphone should be removed on first toggle
Change-Id: I10a77f210896a9ec317f9cbc7de21dccabafe426
-rw-r--r-- | firmware/target/hosted/sdl/button-sdl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/hosted/sdl/button-sdl.c b/firmware/target/hosted/sdl/button-sdl.c index ccfb557014..1055d7e0b9 100644 --- a/firmware/target/hosted/sdl/button-sdl.c +++ b/firmware/target/hosted/sdl/button-sdl.c @@ -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); } |