aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-21 18:03:25 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-21 18:03:25 +0200
commit7be58a173aae516a185fd5c2a56ffc3a8a698e05 (patch)
treeda9b60fe7a4b58d3def27be8b83860988c71d236 /src
parent631945a36790898a3c5832d21e36bf0f54ffc465 (diff)
sysmobts: Fix the build when no 2050 uc header file was found
Fix the build (provide empty stubs) when the header file is not present.
Diffstat (limited to 'src')
-rw-r--r--src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c b/src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c
index 7de68954..daad7647 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c
+++ b/src/osmo-bts-sysmo/misc/sysmobts_mgr_2050.c
@@ -334,4 +334,18 @@ void sbts2050_uc_initialize(void)
{
LOGP(DTEMP, LOGL_NOTICE, "sysmoBTS2050 was not enabled at compile time.\n");
}
+
+void sbts2050_uc_check_temp(int *temp_pa, int *temp_board)
+{
+ LOGP(DTEMP, LOGL_ERROR, "sysmoBTS2050 compiled without temp support.\n");
+ *temp_pa = *temp_board = 99999;
+}
+
+int sbts2050_uc_get_status(struct sbts2050_power_status *status)
+{
+ memset(status, 0, sizeof(*status));
+ LOGP(DTEMP, LOGL_ERROR, "sysmoBTS2050 compiled without status support.\n");
+ return -1;
+}
+
#endif