Fix ejectLength typo

pull/71/head
Yuri D'Elia 2021-07-26 11:20:51 +02:00
parent dc36afb82c
commit 1abc8713bb
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ bool EjectFilament::Step() {
if (mm::motion.QueueEmpty()) { // selector parked aside if (mm::motion.QueueEmpty()) { // selector parked aside
state = ProgressCode::EjectingFilament; state = ProgressCode::EjectingFilament;
mm::motion.InitAxis(mm::Pulley); mm::motion.InitAxis(mm::Pulley);
mm::motion.PlanMove<mm::Pulley>(ejectLenght, ejectSpeed); mm::motion.PlanMove<mm::Pulley>(ejectLength, ejectSpeed);
} }
break; break;
case ProgressCode::EjectingFilament: case ProgressCode::EjectingFilament:

View File

@ -7,7 +7,7 @@
namespace logic { namespace logic {
// These cannot be class memebers without definition until c++17 // 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 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 /// @brief A high-level command state machine - handles the complex logic of ejecting filament