diff options
author | Harald Welte <laforge@gnumonks.org> | 2012-11-18 10:38:32 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2012-11-18 10:38:32 +0100 |
commit | 36e73dd7ed1479f5a8c21fb8d49656e2173256f6 (patch) | |
tree | bb970e232c8b71c2105bf746114b18201d5ec8fd /src/osmo-bts-sysmo/l1_if.c | |
parent | 17dd7fad72cdc80edc4b5d717c4267977cf0c1ba (diff) |
Ensure osmo-bts builds agsainst sysmobts-v1 headers (again)
Diffstat (limited to 'src/osmo-bts-sysmo/l1_if.c')
-rw-r--r-- | src/osmo-bts-sysmo/l1_if.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c index 7e4c6dbf..c30ef385 100644 --- a/src/osmo-bts-sysmo/l1_if.c +++ b/src/osmo-bts-sysmo/l1_if.c @@ -1169,10 +1169,17 @@ struct femtol1_hdl *l1if_open(void *priv) struct femtol1_hdl *fl1h; int rc; - LOGP(DL1C, LOGL_INFO, "sysmoBTS L1IF compiled against API headers " +#ifndef HW_SYSMOBTS_V1 + LOGP(DL1C, LOGL_INFO, "sysmoBTSv2 L1IF compiled against API headers " "v%u.%u.%u\n", SUPERFEMTO_API_VERSION >> 16, (SUPERFEMTO_API_VERSION >> 8) & 0xff, SUPERFEMTO_API_VERSION & 0xff); +#else + LOGP(DL1C, LOGL_INFO, "sysmoBTSv1 L1IF compiled against API headers " + "v%u.%u.%u\n", FEMTOBTS_API_VERSION >> 16, + (FEMTOBTS_API_VERSION >> 8) & 0xff, + FEMTOBTS_API_VERSION & 0xff); +#endif fl1h = talloc_zero(priv, struct femtol1_hdl); if (!fl1h) |