aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-sysmo/misc/sysmobts_misc.h
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-21 22:52:50 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-08-21 23:55:27 +0200
commitb0674e9636a5010b1d9a17496afa1f6ffc1fc79b (patch)
treef1c93387fd754052d2edb5c03cd76481cf0eaaf6 /src/osmo-bts-sysmo/misc/sysmobts_misc.h
parentd036cce744b4c0da6b147fe94d7f8ce723f8bb30 (diff)
sysmobts: Implement a small state machine for temp control
Check the temperature and move between "NORMAL", "WARNING" and "CRITICAL" state. We will only return from CRITICAL to WARNING when the temperature has significantly changed, and when being in state "WARNING" we enter an intermediate state to allow an easy hysteris.
Diffstat (limited to 'src/osmo-bts-sysmo/misc/sysmobts_misc.h')
-rw-r--r--src/osmo-bts-sysmo/misc/sysmobts_misc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/misc/sysmobts_misc.h b/src/osmo-bts-sysmo/misc/sysmobts_misc.h
index bddb1c20..28b6e628 100644
--- a/src/osmo-bts-sysmo/misc/sysmobts_misc.h
+++ b/src/osmo-bts-sysmo/misc/sysmobts_misc.h
@@ -55,7 +55,7 @@ struct sbts2050_power_status {
float pa_bias_voltage;
};
-void sbts2050_uc_check_temp(int *temp_pa, int *temp_board);
+int sbts2050_uc_check_temp(int *temp_pa, int *temp_board);
void sbts2050_uc_set_power(int pmaster, int pslave, int ppa);
int sbts2050_uc_get_status(struct sbts2050_power_status *status);
void sbts2050_uc_initialize();