patch LIN_ADVANCE to use code_value_float
This commit is contained in:
parent
b708196770
commit
2b340f5acb
2 changed files with 2 additions and 2 deletions
|
|
@ -1124,7 +1124,7 @@ void Stepper::microstep_readings() {
|
|||
#if ENABLED(LIN_ADVANCE)
|
||||
|
||||
void Stepper::advance_M905() {
|
||||
if (code_seen('K')) extruder_advance_k = code_value();
|
||||
if (code_seen('K')) extruder_advance_k = code_value_float();
|
||||
SERIAL_ECHO_START;
|
||||
SERIAL_ECHOPAIR("Advance factor: ", extruder_advance_k);
|
||||
SERIAL_EOL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue