Fix tmc_util global vars

This commit is contained in:
Scott Lahteine
2017-12-25 09:05:31 -06:00
parent 4ef965cc40
commit b259bb4670
2 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,9 @@
#include "../libs/duration_t.h"
#include "../gcode/gcode.h"
bool report_tmc_status = false;
char extended_axis_codes[11][3] = { "X", "X2", "Y", "Y2", "Z", "Z2", "E0", "E1", "E2", "E3", "E4" };
template<typename TMC>
void tmc_get_current(TMC &st, const char name[]) {
SERIAL_ECHO(name);