projects
/
open-ath9k-htc-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix compile warnings for gcc 6.2.0
[open-ath9k-htc-firmware.git]
/
target_firmware
/
magpie_fw_dev
/
target
/
init
/
magpie.c
diff --git
a/target_firmware/magpie_fw_dev/target/init/magpie.c
b/target_firmware/magpie_fw_dev/target/init/magpie.c
index 990e005e3f4bebefe1b564fc5e883f83d9b6abfc..186153d80b2ab7a18a087b95dc24c8ec358be6af 100755
(executable)
--- a/
target_firmware/magpie_fw_dev/target/init/magpie.c
+++ b/
target_firmware/magpie_fw_dev/target/init/magpie.c
@@
-33,6
+33,7
@@
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "sys_cfg.h"
* IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "sys_cfg.h"
+#include "app_start.h"
#if defined(_RAM_)
#if defined(_RAM_)
@@
-53,6
+54,7
@@
void htc_setup_comp(void)
static void dispatch_magpie_sys_cmds(void *pContext, A_UINT16 Command,
A_UINT16 SeqNo, A_UINT8 *buffer, int Length);
static void dispatch_magpie_sys_cmds(void *pContext, A_UINT16 Command,
A_UINT16 SeqNo, A_UINT8 *buffer, int Length);
+#if MAGPIE_ENABLE_WLAN == 0
static WMI_DISPATCH_ENTRY Magpie_Sys_DispatchEntries[] =
{
{dispatch_magpie_sys_cmds, WMI_ECHO_CMDID, 0},
static WMI_DISPATCH_ENTRY Magpie_Sys_DispatchEntries[] =
{
{dispatch_magpie_sys_cmds, WMI_ECHO_CMDID, 0},
@@
-60,6
+62,7
@@
static WMI_DISPATCH_ENTRY Magpie_Sys_DispatchEntries[] =
};
static WMI_DECLARE_DISPATCH_TABLE(Magpie_Sys_Commands_Tbl, Magpie_Sys_DispatchEntries);
};
static WMI_DECLARE_DISPATCH_TABLE(Magpie_Sys_Commands_Tbl, Magpie_Sys_DispatchEntries);
+#endif
htc_handle_t htc_handle;
htc_handle_t htc_handle;