parent
fda4b86cbc
commit
01c6cacf15
@ -440,7 +440,7 @@ class BambuVirtualPrinter:
|
|||||||
def _set_feedrate_percent(self, data: str) -> bool:
|
def _set_feedrate_percent(self, data: str) -> bool:
|
||||||
if self.bambu_client.connected:
|
if self.bambu_client.connected:
|
||||||
gcode_command = commands.SEND_GCODE_TEMPLATE
|
gcode_command = commands.SEND_GCODE_TEMPLATE
|
||||||
percent = int(data[1:])
|
percent = int(data.replace("M220 S", ""))
|
||||||
|
|
||||||
if percent is None or percent < 1 or percent > 166:
|
if percent is None or percent < 1 or percent > 166:
|
||||||
return True
|
return True
|
||||||
|
2
setup.py
2
setup.py
@ -14,7 +14,7 @@ plugin_package = "octoprint_bambu_printer"
|
|||||||
plugin_name = "OctoPrint-BambuPrinter"
|
plugin_name = "OctoPrint-BambuPrinter"
|
||||||
|
|
||||||
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
|
# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
|
||||||
plugin_version = "0.1.0"
|
plugin_version = "0.1.1"
|
||||||
|
|
||||||
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
|
# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
|
||||||
# module
|
# module
|
||||||
|
Loading…
x
Reference in New Issue
Block a user