From 2c852e9bcc8ab64e36fbc01884878243d545afc8 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Fri, 7 May 2010 16:56:09 +0200 Subject: layer1: remove 'l1s_cb' and l1_signal mechanism the l1s signal was an old mechanism between l1test and the layer1 before we introduced the L1CTL protocol. This commit removes all leftover references to it. It also disables the l1test app, as it would no longer work without major modifications (using l1ctl from within the phone). --- src/target/firmware/apps/layer1/main.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/target/firmware/apps/layer1/main.c') diff --git a/src/target/firmware/apps/layer1/main.c b/src/target/firmware/apps/layer1/main.c index 7281d17f..bc968b42 100644 --- a/src/target/firmware/apps/layer1/main.c +++ b/src/target/firmware/apps/layer1/main.c @@ -64,17 +64,6 @@ const char *hr = "============================================================== /* MAIN program **************************************************************/ -/* completion call-back for the L1 Sync Pwer Measurement */ -static void l1s_signal_cb(struct l1_signal *sig) -{ - switch (sig->signum) { - case L1_SIG_PM: - break; - case L1_SIG_NB: - break; - } -} - static void key_handler(enum key_codes code, enum key_states state); int main(void) @@ -97,7 +86,6 @@ int main(void) display_puts("layer1.bin"); layer1_init(); - l1s_set_handler(&l1s_signal_cb); tpu_frame_irq_en(1, 1); -- cgit v1.2.3