mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Finally commit FS#5111 - piezo clicker for ipods!
Origional implementation by Robert Keevil with contributions from Frederik Vestre, Stoyan Stratev, Craig Elliott, Michael Sparmann, Thomas Schott, Rosso Maltese, and syncs from a bunch of other people! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30995 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
b7508a766d
commit
be716c0be8
20 changed files with 481 additions and 2 deletions
|
@ -118,6 +118,10 @@
|
|||
#include "m5636.h"
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_HARDWARE_CLICK
|
||||
#include "piezo.h"
|
||||
#endif
|
||||
|
||||
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
|
||||
#define MAIN_NORETURN_ATTR NORETURN_ATTR
|
||||
#else
|
||||
|
@ -507,6 +511,10 @@ static void init(void)
|
|||
radio_init();
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_HARDWARE_CLICK
|
||||
piezo_init();
|
||||
#endif
|
||||
|
||||
/* Keep the order of this 3 (viewportmanager handles statusbars)
|
||||
* Must be done before any code uses the multi-screen API */
|
||||
CHART(">gui_syncstatusbar_init");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue