add init min and max pwm
This commit is contained in:
parent
2a779c9489
commit
5dc813fb7b
@ -10,6 +10,10 @@ class FanSliderPlugin(octoprint.plugin.StartupPlugin,
|
||||
octoprint.plugin.SettingsPlugin,
|
||||
octoprint.plugin.AssetPlugin):
|
||||
|
||||
def __init__(self):
|
||||
self.minPWM=0,
|
||||
self.maxPWM=255
|
||||
|
||||
def on_after_startup(self):
|
||||
self.get_settings_updates()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user