diff options
author | Tomasz Moń <desowin@gmail.com> | 2021-07-02 12:02:26 +0200 |
---|---|---|
committer | Tomasz Moń <desowin@gmail.com> | 2021-07-04 07:41:44 +0000 |
commit | e11fa5f74eb49b10ebefbe8882bb50186dffb2a4 (patch) | |
tree | 295a28ca58bc4d7b5153629046c1e2894db02f5e /apps/main.c | |
parent | c9f2308a1d4401ceefaac47b1ea851530d07e47d (diff) |
Sansa Connect: Initial libertas WiFi driver port
Import non-free firmware image from linux-firmware package.
Firmware loading works but is disabled at compile time because just
loading firmware without configuring device results in higher power
consumption without any benefit to end user.
Change-Id: I8fd252c49385ede1ea4e0f9b1e29adeb331ab8ae
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c index c7b223faea..483d280204 100644 --- a/apps/main.c +++ b/apps/main.c @@ -36,6 +36,7 @@ #include "panic.h" #include "menu.h" #include "usb.h" +#include "wifi.h" #include "powermgmt.h" #if !defined(DX50) && !defined(DX90) #include "adc.h" @@ -636,6 +637,10 @@ static void init(void) CHART("<audio_init"); talk_announce_voice_invalid(); /* notify user w/ voice prompt if voice file invalid */ +#ifdef HAVE_WIFI + wifi_init(); +#endif + /* runtime database has to be initialized after audio_init() */ cpu_boost(false); |