optimisation: reduce code size in M907
Change in memory: Flash: -4 bytes SRAM: 0 bytes
This commit is contained in:
parent
53c8bfa928
commit
c090868fa2
|
|
@ -8065,7 +8065,7 @@ Sigma_Exit:
|
|||
SERIAL_ECHOLNPGM(", M907 E ignored");
|
||||
continue;
|
||||
}
|
||||
long cur_mA = code_value_long();
|
||||
float cur_mA = code_value();
|
||||
uint8_t val = tmc2130_cur2val(cur_mA);
|
||||
currents[i].iHold = val;
|
||||
currents[i].iRun = val;
|
||||
|
|
|
|||
Loading…
Reference in New Issue