Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Heating/Sensors/ThermocoupleSensor31855.cpp')
-rw-r--r--src/Heating/Sensors/ThermocoupleSensor31855.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Heating/Sensors/ThermocoupleSensor31855.cpp b/src/Heating/Sensors/ThermocoupleSensor31855.cpp
index 7177d936..15842081 100644
--- a/src/Heating/Sensors/ThermocoupleSensor31855.cpp
+++ b/src/Heating/Sensors/ThermocoupleSensor31855.cpp
@@ -61,7 +61,7 @@ const uint8_t MAX31855_SpiMode = SPI_MODE_0;
// Define the minimum interval between readings
const uint32_t MinimumReadInterval = 100; // minimum interval between reads, in milliseconds
-ThermocoupleSensor31855::ThermocoupleSensor31855(unsigned int sensorNum)
+ThermocoupleSensor31855::ThermocoupleSensor31855(unsigned int sensorNum) noexcept
: SpiTemperatureSensor(sensorNum, "Thermocouple (MAX31855)", MAX31855_SpiMode, MAX31855_Frequency)
{
}
@@ -90,7 +90,7 @@ GCodeResult ThermocoupleSensor31855::Configure(GCodeBuffer& gb, const StringRef&
return GCodeResult::ok;
}
-void ThermocoupleSensor31855::Poll()
+void ThermocoupleSensor31855::Poll() noexcept
{
uint32_t rawVal;
TemperatureError sts = DoSpiTransaction(nullptr, 4, rawVal);