Adding Code for freeRTOS
This commit is contained in:
@@ -21,8 +21,7 @@ public:
|
||||
static const Event TEMP_SENSOR_LOW = MAKE_EVENT(1, SEVERITY::LOW);
|
||||
static const Event TEMP_SENSOR_GRADIENT = MAKE_EVENT(2, SEVERITY::LOW);
|
||||
|
||||
//TODO, modern gcc complains about const
|
||||
static const float ZERO_KELVIN_C = -273.15;
|
||||
static constexpr float ZERO_KELVIN_C = -273.15;
|
||||
AbstractTemperatureSensor(object_id_t setObjectid,
|
||||
ThermalModuleIF *thermalModule);
|
||||
virtual ~AbstractTemperatureSensor();
|
||||
|
||||
@@ -18,8 +18,7 @@ public:
|
||||
NON_OPERATIONAL = 0, OPERATIONAL = 1, UNKNOWN = 2
|
||||
};
|
||||
|
||||
//TODO, modern gcc complains about const
|
||||
static const float INVALID_TEMPERATURE = 999;
|
||||
static constexpr float INVALID_TEMPERATURE = 999;
|
||||
|
||||
virtual ~ThermalModuleIF() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user