FS#8006 - Beep when charger is removed or connected
|
DetailsThis very small patch simply plays a beep when a charger is removed or plugged in.
I know The charger stuff will be removed from p7910. I could have added this to it but it isn't really that related. |
Requires
FS#8007.FS#8007But won't compile. This is because global_settings.beep_notification doesn't exist in rockbox.
FS#8007adds an option called "Beep notifications" and uses global_settings.beep_notification to hold its setting...Just thought I would explain it.
Anyway this update just makes the beep more noticeable (I think :-))
Enjoy...
talk_menu since beep_setting was closed and really was just a waste of space. No functional change,
Just no more dependencies and rely on talk_menu.
Is anyone interested in committing?
It really is a very small change.
Thanks.
However it was created by Stephane Doyon, he has given me permission to post this.
The version I am attaching with this comment beeps when the charger is removed or inserted, this patch also means that beeps of different pitch or duration can be sounded depending on if the charger is being removed or inserted, making it easy to know if it is connected or not.
The patch applies fine, though with a few offsets.
The beep_tune patch handles the playing of the different tones and the charger patch does the rest.