Skip to content

Commit

Permalink
0.1.1
Browse files Browse the repository at this point in the history
* fix M220 command, #35
  • Loading branch information
jneilliii committed Jul 31, 2024
1 parent fda4b86 commit 01c6cac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion octoprint_bambu_printer/printer/bambu_virtual_printer.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def _serial_print(self, data: str) -> bool:
def _set_feedrate_percent(self, data: str) -> bool:
if self.bambu_client.connected:
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:
return True
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
plugin_name = "OctoPrint-BambuPrinter"

# 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
# module
Expand Down

0 comments on commit 01c6cac

Please sign in to comment.