aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/l1_if.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-06-05 09:22:11 +0200
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-06-05 09:34:33 +0200
commitad3e31dc4b9ee1063d9e633ca884315b5a5c9710 (patch)
tree7f0079002ff481db60eb54c5ea1b733ca8e11f22 /src/osmo-bts-sysmo/l1_if.h
parent1c069cd0a0316567e56549c45db549383deadf57 (diff)
sysmobts: The meaning of the clock value changed from v1 to v2
In v2 the calibration value is the clock error in ppb that needs to be compensated. Create a V2 specific implementation. Write the clock value unconditionally as it is initialized to 0 by default and not 0xffff.
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.h')
-rw-r--r--src/osmo-bts-sysmo/l1_if.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.h b/src/osmo-bts-sysmo/l1_if.h
index e47edb44..ed86400a 100644
--- a/src/osmo-bts-sysmo/l1_if.h
+++ b/src/osmo-bts-sysmo/l1_if.h
@@ -30,7 +30,7 @@ struct femtol1_hdl {
struct gsm_time gsm_time;
uint32_t hLayer1; /* handle to the L1 instance in the DSP */
uint32_t dsp_trace_f;
- uint16_t clk_cal;
+ int clk_cal;
uint8_t clk_src;
struct llist_head wlc_list;