summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/apps/layer1/main.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2010-05-07 16:56:09 +0200
committerHarald Welte <laforge@gnumonks.org>2010-05-17 09:23:35 +0200
commit2c852e9bcc8ab64e36fbc01884878243d545afc8 (patch)
treee658cd2c7b713cc3478fafda14c4be6ba1b39cfe /src/target/firmware/apps/layer1/main.c
parentea3b3826f2c8650d36d033e99a7af08c05ef562a (diff)
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).
Diffstat (limited to 'src/target/firmware/apps/layer1/main.c')
-rw-r--r--src/target/firmware/apps/layer1/main.c12
1 files changed, 0 insertions, 12 deletions
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);