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:
authorDavid Crocker <dcrocker@eschertech.com>2021-10-21 13:46:07 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-10-21 13:46:07 +0300
commit7f6d0bee5de31caffc05df7d517ef73127e940cb (patch)
tree1848588a420bcfc03891862cd03db82be2580b9d /src/Fans/Fan.h
parent0bdbf1bef1cbf383d0aa564536cd5ca46430fb3e (diff)
Implemented fans in expansion board mode
Diffstat (limited to 'src/Fans/Fan.h')
-rw-r--r--src/Fans/Fan.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Fans/Fan.h b/src/Fans/Fan.h
index b6d5422b..d0acc23b 100644
--- a/src/Fans/Fan.h
+++ b/src/Fans/Fan.h
@@ -37,6 +37,11 @@ public:
#endif
#if SUPPORT_REMOTE_COMMANDS
virtual bool IsLocal() const noexcept = 0;
+
+ // Set or report the parameters for this fan
+ // 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.
+ GCodeResult Configure(const CanMessageFanParameters& msg, const StringRef& reply) noexcept;
#endif
// Set or report the parameters for this fan