summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/layer1/sync.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/layer1/sync.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/layer1/sync.c')
-rw-r--r--src/target/firmware/layer1/sync.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/target/firmware/layer1/sync.c b/src/target/firmware/layer1/sync.c
index 9ca37ef0..fe47cd0e 100644
--- a/src/target/firmware/layer1/sync.c
+++ b/src/target/firmware/layer1/sync.c
@@ -58,13 +58,6 @@
struct l1s_state l1s;
-l1s_cb_t l1s_cb = NULL;
-
-void l1s_set_handler(l1s_cb_t cb)
-{
- l1s_cb = cb;
-}
-
void l1s_time_inc(struct gsm_time *time, uint32_t delta_fn)
{
ADD_MODULO(time->fn, delta_fn, GSM_MAX_FN);