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-15 13:19:34 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-10-15 13:19:34 +0300
commit58e781470de74754710baf55e6b6bda95010c33e (patch)
treebe4ee7283dceec175862f50c40d11a1b696c5081 /src/Hardware
parent9b4f401b9e9c7ce99547a0c25bf2c5ffd4e6361a (diff)
Added fan PWM frequency to object model
Diffstat (limited to 'src/Hardware')
-rw-r--r--src/Hardware/IoPorts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Hardware/IoPorts.h b/src/Hardware/IoPorts.h
index 0409a0f4..b5c0d29f 100644
--- a/src/Hardware/IoPorts.h
+++ b/src/Hardware/IoPorts.h
@@ -105,6 +105,7 @@ public:
void AppendDetails(const StringRef& str) const noexcept; // hides the one in IoPort
void AppendFrequency(const StringRef& str) const noexcept; // append the frequency if the port is valid
void SetFrequency(PwmFrequency freq) noexcept { frequency = freq; }
+ PwmFrequency GetFrequency() const noexcept { return frequency; }
void WriteAnalog(float pwm) const noexcept;
private: