diff --git a/src/logic/eject_filament.cpp b/src/logic/eject_filament.cpp index 4417320..50f2e18 100644 --- a/src/logic/eject_filament.cpp +++ b/src/logic/eject_filament.cpp @@ -50,7 +50,7 @@ bool EjectFilament::Step() { if (mm::motion.QueueEmpty()) { // selector parked aside state = ProgressCode::EjectingFilament; mm::motion.InitAxis(mm::Pulley); - mm::motion.PlanMove(ejectLenght, ejectSpeed); + mm::motion.PlanMove(ejectLength, ejectSpeed); } break; case ProgressCode::EjectingFilament: diff --git a/src/logic/eject_filament.h b/src/logic/eject_filament.h index 96ba418..32ef524 100644 --- a/src/logic/eject_filament.h +++ b/src/logic/eject_filament.h @@ -7,7 +7,7 @@ namespace logic { // These cannot be class memebers without definition until c++17 -static constexpr modules::motion::P_pos_t ejectLenght = 50.0_P_mm; //@@TODO +static constexpr modules::motion::P_pos_t ejectLength = 50.0_P_mm; //@@TODO static constexpr modules::motion::P_speed_t ejectSpeed = 1000.0_P_mm_s; //@@TODO /// @brief A high-level command state machine - handles the complex logic of ejecting filament