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

Use E in M306 T to specify autotuned extruder #25326

Merged

Conversation

GMagician
Copy link
Contributor

Let MPC autotune to specify extruder

It should implement #25325 but I can't test it.

@GMagician GMagician force-pushed the add_e_to_m306_autotune branch 2 times, most recently from 8a426b4 to f14988c Compare February 1, 2023 21:10
@@ -914,27 +914,29 @@ volatile bool Temperature::raw_temps_ready = false;
};

struct OnExit {
heater_id_t e;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure OnExit local variable is right approach

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not type has been changed to uint8_t but question is still valid

Let MPC autotune to specify extruder
@GMagician GMagician changed the title Extend M306 T Use E in M306 T to specify autotuned extruder Feb 1, 2023
Use uint8_t instead of heater_id_t because active_extruder (original variable) was such type
@GMagician GMagician marked this pull request as ready for review February 2, 2023 19:36
@thinkyhead
Copy link
Member

MPCTEMPBED might be a thing in the future, so if you want to keep using heater_id_t it's probably fine.

@GMagician
Copy link
Contributor Author

IMO when bed will be implemented it may be renamed to heater_id, but I'm ready to change it now if you think it's better

thinkyhead added a commit to MarlinFirmware/MarlinDocumentation that referenced this pull request Feb 12, 2023
@thinkyhead
Copy link
Member

IMO when bed will be implemented it may be renamed to heater_id, but I'm ready to change it now if you think it's better

This can wait. I'll go ahead and merge what we have now.

thinkyhead added a commit to MarlinFirmware/MarlinDocumentation that referenced this pull request Feb 12, 2023
@thinkyhead thinkyhead force-pushed the add_e_to_m306_autotune branch from 503ebc5 to cac0148 Compare February 12, 2023 06:32
@thinkyhead thinkyhead merged commit 3839dc3 into MarlinFirmware:bugfix-2.1.x Feb 12, 2023
thinkyhead added a commit that referenced this pull request Feb 12, 2023
Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
@GMagician GMagician deleted the add_e_to_m306_autotune branch February 12, 2023 08:35
deveth0 pushed a commit to deveth0/Bigtree-SKR-Mini-v3-Ender3v2-Marlin that referenced this pull request Feb 12, 2023
Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
thinkyhead added a commit to thinkyhead/Marlin that referenced this pull request Feb 22, 2023
Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
LMBernardo pushed a commit to LMBernardo/Marlin that referenced this pull request Mar 19, 2023
Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
thinkyhead added a commit that referenced this pull request Apr 7, 2023
Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
EvilGremlin pushed a commit to EvilGremlin/Marlin that referenced this pull request Apr 8, 2023
Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
thinkyhead added a commit that referenced this pull request Apr 10, 2023
Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
thinkyhead added a commit to thinkyhead/Marlin that referenced this pull request May 16, 2023
Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
EvilGremlin pushed a commit to EvilGremlin/Marlin that referenced this pull request May 17, 2023
Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
tspiva pushed a commit to tspiva/Marlin that referenced this pull request May 25, 2023
Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
Andy-Big pushed a commit to Andy-Big/Marlin_FB_Reborn that referenced this pull request Jul 9, 2023
Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com>
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.

None yet

2 participants