diff options
Diffstat (limited to 'src/GPIO/GpOutPort.h')
-rw-r--r-- | src/GPIO/GpOutPort.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/GPIO/GpOutPort.h b/src/GPIO/GpOutPort.h index 087e48f4..245d32f6 100644 --- a/src/GPIO/GpOutPort.h +++ b/src/GPIO/GpOutPort.h @@ -29,6 +29,7 @@ public: bool IsUnused() const noexcept; GCodeResult WriteAnalog(uint32_t gpioPortNumber, bool isServo, float pwm, const GCodeBuffer& gb, const StringRef& reply) noexcept; GCodeResult Configure(uint32_t gpioNumber, bool isServo, GCodeBuffer& gb, const StringRef& reply) THROWS(GCodeException); + PwmFrequency GetPwmFrequency() const noexcept { return port.GetFrequency(); } #if SUPPORT_REMOTE_COMMANDS GCodeResult AssignFromRemote(uint32_t gpioPortNumber, const CanMessageGenericParser& parser, const StringRef& reply) noexcept; |