Skip to content

Commit

Permalink
Add extruder flowrate to M221 report followup
Browse files Browse the repository at this point in the history
Add M211 to the report followup
reset and default value
  • Loading branch information
ThomasToka committed Jul 21, 2023
1 parent 4becd4a commit 6f24287
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -699,6 +699,8 @@
#define COOLER_AUTO_FAN_TEMPERATURE 18
#define COOLER_AUTO_FAN_SPEED 255

#define DEFAULT_EXTRUDER_FLOWRATE 100

/**
* Hotend Cooling Fans tachometers
*
Expand Down
7 changes: 7 additions & 0 deletions Marlin/src/module/settings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3525,6 +3525,13 @@ void MarlinSettings::reset() {
#endif
#endif

//
// M221 Extruder Flowrate
//
#if HAS_EXTRUDERS
planner.flow_percentage[0] = DEFAULT_EXTRUDER_FLOWRATE;
#endif

endstops.enable_globally(ENABLED(ENDSTOPS_ALWAYS_ON_DEFAULT));

reset_stepper_drivers();
Expand Down

0 comments on commit 6f24287

Please sign in to comment.