mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-07-20 21:27:53 -06:00
fan: Minor updates to tachometer handling
Add new fields to Command_Templates.md. Remove unused self.rpm variable. Use an explicit get_frequency() method in keeping with Klipper's convention of not "peeking into member variables". Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
16d85d1a78
commit
4d3d25b1f7
3 changed files with 7 additions and 5 deletions
|
@ -74,6 +74,5 @@ class FrequencyCounter:
|
|||
self._callback(time, self._freq)
|
||||
self._last_count = count
|
||||
|
||||
@property
|
||||
def frequency(self):
|
||||
def get_frequency(self):
|
||||
return self._freq
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue