This commit is contained in:
parent
bc582abcb3
commit
11d9871c0a
@ -18,7 +18,7 @@
|
||||
|
||||
// Enabling this should trigger a special event which in turn should trigger a system reaction.
|
||||
#define LOWER_SYRLINKS_UPPER_LIMITS 0
|
||||
#define LOWER_EBAND_UPPER_LIMITS 1
|
||||
#define LOWER_EBAND_UPPER_LIMITS 0
|
||||
#define LOWER_PLOC_UPPER_LIMITS 0
|
||||
|
||||
ThermalController::ThermalController(object_id_t objectId, HeaterHandler& heater)
|
||||
@ -110,22 +110,28 @@ void ThermalController::performControlOperation() {
|
||||
}
|
||||
|
||||
if (cycles == 50) {
|
||||
sif::debug << "ThermalController: changing limits" << std::endl; // TODO: rausschmeissen
|
||||
bool changedLimits = false;
|
||||
#if LOWER_SYRLINKS_UPPER_LIMITS == 1
|
||||
changedLimits = true;
|
||||
sBandTransceiverLimits.cutOffLimit = 0;
|
||||
sBandTransceiverLimits.opUpperLimit = 0;
|
||||
sBandTransceiverLimits.nopUpperLimit = 0;
|
||||
#endif
|
||||
#if LOWER_PLOC_UPPER_LIMITS == 1
|
||||
changedLimits = true;
|
||||
plocMissionBoardLimits.cutOffLimit = 0;
|
||||
plocMissionBoardLimits.opUpperLimit = 0;
|
||||
plocMissionBoardLimits.nopUpperLimit = 0;
|
||||
#endif
|
||||
#if LOWER_EBAND_UPPER_LIMITS == 1
|
||||
changedLimits = true;
|
||||
hpaLimits.cutOffLimit = 0;
|
||||
hpaLimits.opUpperLimit = 0;
|
||||
hpaLimits.nopUpperLimit = 0;
|
||||
#endif
|
||||
if(changedLimits) {
|
||||
sif::debug << "ThermalController: changing limits" << std::endl; // TODO: rausschmeissen
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
|
2
tmtc
2
tmtc
@ -1 +1 @@
|
||||
Subproject commit cef8d623c9fa11237fc8e51e5fd4dab750a5602b
|
||||
Subproject commit b72dad49a9c05a37c094a22d5fdaa15643b5ca7f
|
Loading…
Reference in New Issue
Block a user