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/TmcDriverTemperatureSensor.h')
-rw-r--r--src/Heating/Sensors/TmcDriverTemperatureSensor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Heating/Sensors/TmcDriverTemperatureSensor.h b/src/Heating/Sensors/TmcDriverTemperatureSensor.h
index 98e1a513..e16534fe 100644
--- a/src/Heating/Sensors/TmcDriverTemperatureSensor.h
+++ b/src/Heating/Sensors/TmcDriverTemperatureSensor.h
@@ -15,7 +15,7 @@
class TmcDriverTemperatureSensor : public TemperatureSensor
{
public:
- TmcDriverTemperatureSensor(unsigned int sensorNum, unsigned int chan);
+ TmcDriverTemperatureSensor(unsigned int sensorNum, unsigned int chan) noexcept;
static constexpr const char *PrimaryTypeName = "drivers";
#ifdef DUET_NG
@@ -23,9 +23,9 @@ public:
#endif
// Get the smart drivers channel that this sensor monitors, or -1 if it doesn't
- int GetSmartDriversChannel() const override { return (int) channel; }
+ int GetSmartDriversChannel() const noexcept override { return (int) channel; }
- void Poll() override;
+ void Poll() noexcept override;
private:
unsigned int channel;