Add option to enable/disable autoretract altogether (#11904)
This commit is contained in:
committed by
Scott Lahteine
parent
ad21a4f07b
commit
93839e2f73
@ -58,8 +58,10 @@ public:
|
||||
}
|
||||
|
||||
static void enable_autoretract(const bool enable) {
|
||||
autoretract_enabled = enable;
|
||||
refresh_autoretract();
|
||||
#if ENABLED(FWRETRACT_AUTORETRACT)
|
||||
autoretract_enabled = enable;
|
||||
refresh_autoretract();
|
||||
#endif
|
||||
}
|
||||
|
||||
static void retract(const bool retracting
|
||||
|
Reference in New Issue
Block a user