|
@ -1123,8 +1123,8 @@ void Stepper::microstep_readings() { |
|
|
|
|
|
|
|
|
#if ENABLED(LIN_ADVANCE) |
|
|
#if ENABLED(LIN_ADVANCE) |
|
|
|
|
|
|
|
|
void Stepper::advance_M905() { |
|
|
void Stepper::advance_M905(const float &k) { |
|
|
if (code_seen('K')) extruder_advance_k = code_value_float(); |
|
|
if (k >= 0) extruder_advance_k = k; |
|
|
SERIAL_ECHO_START; |
|
|
SERIAL_ECHO_START; |
|
|
SERIAL_ECHOPAIR("Advance factor: ", extruder_advance_k); |
|
|
SERIAL_ECHOPAIR("Advance factor: ", extruder_advance_k); |
|
|
SERIAL_EOL; |
|
|
SERIAL_EOL; |
|
|