summaryrefslogtreecommitdiff
path: root/apps/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main.c')
-rw-r--r--apps/main.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c
index 38de780c8d..9d83c62965 100644
--- a/apps/main.c
+++ b/apps/main.c
@@ -118,6 +118,10 @@
118#include "m5636.h" 118#include "m5636.h"
119#endif 119#endif
120 120
121#ifdef HAVE_HARDWARE_CLICK
122#include "piezo.h"
123#endif
124
121#if (CONFIG_PLATFORM & PLATFORM_NATIVE) 125#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
122#define MAIN_NORETURN_ATTR NORETURN_ATTR 126#define MAIN_NORETURN_ATTR NORETURN_ATTR
123#else 127#else
@@ -507,6 +511,10 @@ static void init(void)
507 radio_init(); 511 radio_init();
508#endif 512#endif
509 513
514#ifdef HAVE_HARDWARE_CLICK
515 piezo_init();
516#endif
517
510 /* Keep the order of this 3 (viewportmanager handles statusbars) 518 /* Keep the order of this 3 (viewportmanager handles statusbars)
511 * Must be done before any code uses the multi-screen API */ 519 * Must be done before any code uses the multi-screen API */
512 CHART(">gui_syncstatusbar_init"); 520 CHART(">gui_syncstatusbar_init");