set temperature invalid properly
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...
This commit is contained in:
parent
2d4a3c0ee2
commit
0c394ad34d
@ -12,6 +12,8 @@ extern "C" {
|
||||
#include <wire/common/genericstructs.h>
|
||||
}
|
||||
|
||||
#include "fsfw/thermal/tcsDefinitions.h"
|
||||
|
||||
#include <atomic>
|
||||
#include <fstream>
|
||||
#include <thread>
|
||||
@ -111,6 +113,9 @@ void StarTrackerHandler::doShutDown() {
|
||||
}
|
||||
{
|
||||
PoolReadGuard pg(&temperatureSet);
|
||||
temperatureSet.fpgaTemperature = thermal::INVALID_TEMPERATURE;
|
||||
temperatureSet.cmosTemperature = thermal::INVALID_TEMPERATURE;
|
||||
temperatureSet.mcuTemperature = thermal::INVALID_TEMPERATURE;
|
||||
temperatureSet.setValidity(false, true);
|
||||
}
|
||||
reinitNextSetParam = false;
|
||||
|
Loading…
Reference in New Issue
Block a user