Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

split of unit types #144

Merged
merged 7 commits into from
Nov 28, 2024
Merged

split of unit types #144

merged 7 commits into from
Nov 28, 2024

Conversation

MG-longshot
Copy link
Collaborator

Started the split of unit types to individual modules

Started the split of unit types to individual modules
@MG-longshot MG-longshot reopened this Nov 28, 2024

try: unit_type = self.printer.lookup_object('AFC_{}'.format(CUR_HUB.type.replace('_', '')))
except:
self.ERROR.AFC_error("{} not supported".format(CUR_HUB.type, False))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops typed this wrong in my example

Suggested change
self.ERROR.AFC_error("{} not supported".format(CUR_HUB.type, False))
self.ERROR.AFC_error("{} not supported".format(CUR_HUB.type), False)

@@ -813,7 +813,8 @@ def get_status(self, eventtime):
str["system"]["extruders"][EXTRUDE]['tool_end_sensor'] = True == CUR_EXTRUDER.tool_end_state if CUR_EXTRUDER.tool_end is not None else False
if CUR_EXTRUDER.buffer_name != None:
str["system"]["extruders"][EXTRUDE]['buffer'] = CUR_EXTRUDER.buffer_name
str["system"]["extruders"][EXTRUDE]['buffer_status'] = CUR_EXTRUDER.buffer.buffer_status()
CUR_BUFFER = self.printer.lookup_object('AFC_buffer ' + CUR_EXTRUDER.buffer_name)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thought so but the buffer status function had been moved to AFC_buffer status on the dev

@MG-longshot MG-longshot merged commit 09d5330 into DEV Nov 28, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants