Fix ejectLength typo
parent
dc36afb82c
commit
1abc8713bb
|
|
@ -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<mm::Pulley>(ejectLenght, ejectSpeed);
|
||||
mm::motion.PlanMove<mm::Pulley>(ejectLength, ejectSpeed);
|
||||
}
|
||||
break;
|
||||
case ProgressCode::EjectingFilament:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue