diff options
author | William Wilgus <wilgus.william@gmail.com> | 2021-11-13 03:38:28 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2021-11-13 03:38:28 -0500 |
commit | 11ddc6cf1cd4380e0bd2ec45c3debfe04810097f (patch) | |
tree | 000c191648d611c8c1263ee861afd49f367b2144 /apps/debug_menu.c | |
parent | 59ef877c94c9cabd9007e86994bc858c35fd5c95 (diff) | |
download | rockbox-11ddc6cf1cd4380e0bd2ec45c3debfe04810097f.tar.gz rockbox-11ddc6cf1cd4380e0bd2ec45c3debfe04810097f.zip |
announce_status Fix USB fall through and usb on plugin start
When running and USB plugged announce status ack'd the USB and then un intentionally fell through to EV_EXIT
this caused the thread to exit but not the TSR hook
Now: plugin keeps track of usb status and doesn't announce till usb is unplugged again
on unplug the start-up beep is played to announce its presence
announce_status on startup blocks usb since USB handling is done in the thread that hasn't started yet
Now: don't start if USB is plugged
Plugin now beeps if it couldn't play the announcement excpept for missing voice file unfortunately
Change-Id: I69cf7e687508ce02358432e7bd1adc27c78c4072
Diffstat (limited to 'apps/debug_menu.c')
0 files changed, 0 insertions, 0 deletions