mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-03-09 04:24:48 -06:00
Fix reset()
This commit is contained in:
parent
bc75d81b43
commit
be3888a577
1 changed files with 2 additions and 4 deletions
|
|
@ -101,11 +101,9 @@ void ResonanceGenerator::abort() {
|
|||
void ResonanceGenerator::reset() {
|
||||
rt_params = resonance_test_params_t();
|
||||
|
||||
#if ENABLED(FT_MOTION)
|
||||
if (!ftMotion.cfg.active)
|
||||
#if HAS_STANDARD_MOTION
|
||||
if (!TERN0(FT_MOTION, ftMotion.cfg.active))
|
||||
block.reset();
|
||||
#else
|
||||
block.reset();
|
||||
#endif
|
||||
active = false;
|
||||
done = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue