From af43f146338f124a121a34117cbebec8a613266d Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Sun, 17 Mar 2013 17:12:45 +0100 Subject: [PATCH] build fix: Magpie_Sys_Commands_Tbl used only if MAGPIE_ENABLE_WLAN == 0 Signed-off-by: Oleksij Rempel --- target_firmware/magpie_fw_dev/target/init/magpie.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/target_firmware/magpie_fw_dev/target/init/magpie.c b/target_firmware/magpie_fw_dev/target/init/magpie.c index 990e005..2ed5e8f 100755 --- a/target_firmware/magpie_fw_dev/target/init/magpie.c +++ b/target_firmware/magpie_fw_dev/target/init/magpie.c @@ -53,6 +53,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); +#if MAGPIE_ENABLE_WLAN == 0 static WMI_DISPATCH_ENTRY Magpie_Sys_DispatchEntries[] = { {dispatch_magpie_sys_cmds, WMI_ECHO_CMDID, 0}, @@ -60,6 +61,7 @@ static WMI_DISPATCH_ENTRY Magpie_Sys_DispatchEntries[] = }; static WMI_DECLARE_DISPATCH_TABLE(Magpie_Sys_Commands_Tbl, Magpie_Sys_DispatchEntries); +#endif htc_handle_t htc_handle; -- 2.31.1