diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-12-24 13:14:45 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-12-24 13:14:45 +0300 |
commit | be8bf5da39b36e46d769b93e4f423d347abc23ba (patch) | |
tree | f8d1e579cf47554b800b982995600779997cbec1 /src/Fans/Fan.h | |
parent | ecbc545743695c73791ed8420bb4ad97266bec28 (diff) |
Exception handling now working
Diffstat (limited to 'src/Fans/Fan.h')
-rw-r--r-- | src/Fans/Fan.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fans/Fan.h b/src/Fans/Fan.h index 12a088f0..25ebda3c 100644 --- a/src/Fans/Fan.h +++ b/src/Fans/Fan.h @@ -38,7 +38,7 @@ public: // then search for parameters used to configure the fan. If any are found, perform appropriate actions and return true. // If errors were discovered while processing parameters, put an appropriate error message in 'reply' and set 'error' to true. // If no relevant parameters are found, print the existing ones to 'reply' and return false. - bool Configure(unsigned int mcode, size_t fanNum, GCodeBuffer& gb, const StringRef& reply, bool& error) noexcept; + bool Configure(unsigned int mcode, size_t fanNum, GCodeBuffer& gb, const StringRef& reply, bool& error); bool IsConfigured() const noexcept { return isConfigured && IsEnabled(); } float GetConfiguredPwm() const noexcept { return val; } // returns the configured PWM. Actual PWM may be different, e.g. due to blipping or for thermostatic fans. |