From e9ccf408a84283eae281e6ffa236cd8a3630c046 Mon Sep 17 00:00:00 2001 From: Oleksij Rempel Date: Mon, 8 Apr 2013 09:59:57 +0200 Subject: [PATCH] build fix: remove dead code Signed-off-by: Oleksij Rempel --- target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c b/target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c index b205a57..930a14c 100755 --- a/target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c +++ b/target_firmware/magpie_fw_dev/target/cmnos/dbg_api.c @@ -613,12 +613,6 @@ int db_patch_cmd(char* cmd, char* param1, char* param2, char* param3) uint32_t delay = 0; -LOCAL void cb_tick() -{ - ; -} - - int db_intr_cmd(char* cmd, char* param1, char* param2, char* param3) { #if SYSTEM_MODULE_INTR @@ -641,8 +635,7 @@ int db_intr_cmd(char* cmd, char* param1, char* param2, char* param3) if (strcmp(param2, "on") == 0 ) { - A_ATTACH_ISR(A_INUM_XTTIMER, cb_tick, NULL); - + /* TODO: this part is probably dead. */ pending_intrs = A_INTR_GET_INTRENABLE()|CMNOS_IMASK_XTTIMER; A_INTR_SET_INTRENABLE(pending_intrs); A_PRINTF("- intr [0x%08x]\n\r", pending_intrs); -- 2.25.1