diff options
author | David Crocker <dcrocker@eschertech.com> | 2018-02-04 22:38:29 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2018-02-04 22:38:29 +0300 |
commit | 1448121041393c9a878c3dd84ddd97dff2a4687f (patch) | |
tree | 23441e82f7705680779812bba25a953e6e5a2379 /src/Fan.cpp | |
parent | 7dc0079595cab16ebf1563b59c07e24b341c3efa (diff) |
Towards 1.21RC2
Refactored some string handling
Fixes for Duet 2M
Diffstat (limited to 'src/Fan.cpp')
-rw-r--r-- | src/Fan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fan.cpp b/src/Fan.cpp index efd73200..0a3deb9f 100644 --- a/src/Fan.cpp +++ b/src/Fan.cpp @@ -34,7 +34,7 @@ void Fan::Init(Pin p_pin, bool hwInverted) // Exceptions: // 1. Only process the S parameter unless other values were processed. // 2. Don't process the R parameter, but if it is present don't print the existing configuration. -bool Fan::Configure(unsigned int mcode, int fanNum, GCodeBuffer& gb, StringRef& reply, bool& error) +bool Fan::Configure(unsigned int mcode, int fanNum, GCodeBuffer& gb, const StringRef& reply, bool& error) { if (!IsEnabled()) { |