aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-29 19:27:54 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-03-29 19:27:54 +0100
commit0859795878783f5b07fecb1404b2d0eacb17d208 (patch)
tree7cd8b2a0114a1dc2678fc27e13cce1a760059d3e
parent14ff9255553f42bada7b042945e86d6b575b28b2 (diff)
sysmobts: Fix build for the v1 of the sysmobts
-rw-r--r--src/osmo-bts-sysmo/l1_if.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index e9f33b6..79d506a 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -1254,8 +1254,10 @@ static int info_compl_cb(struct gsm_bts_trx *trx, struct msgb *resp)
fl1h->hw_info.fpga_version[1] = sic->fpgaVersion.minor;
fl1h->hw_info.fpga_version[2] = sic->fpgaVersion.build;
+#ifndef HW_SYSMOBTS_V1
fl1h->hw_info.ver_major = sic->boardVersion.rev;
fl1h->hw_info.ver_minor = sic->boardVersion.option;
+#endif
LOGP(DL1C, LOGL_INFO, "DSP v%u.%u.%u, FPGA v%u.%u.%u\nn",
sic->dspVersion.major, sic->dspVersion.minor,