Migrate to a new TMC library (#11943)

This commit is contained in:
teemuatlut
2018-10-03 10:48:49 +03:00
committed by Scott Lahteine
parent 2abf3d258d
commit c3229e1b34
14 changed files with 795 additions and 968 deletions

View File

@ -33,7 +33,7 @@
* Report driver currents when no axis specified
*/
void GcodeSuite::M906() {
#define TMC_SAY_CURRENT(Q) tmc_get_current(stepper##Q, TMC_##Q)
#define TMC_SAY_CURRENT(Q) tmc_get_current(stepper##Q)
#define TMC_SET_CURRENT(Q) tmc_set_current(stepper##Q, value)
bool report = true;