1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-01-17 06:08:15 +01:00

translator always said Stallguard regardless of actual mode

This commit is contained in:
Mitch Bradley 2022-06-06 12:36:26 -10:00
parent 9658e87ddf
commit c0ed41d4c8

View File

@ -262,12 +262,16 @@ const char* trinamicModes(TrinamicMode mode) {
switch (mode) {
case TrinamicMode::None:
ret = "ERROR";
break;
case TrinamicMode::CoolStep:
ret = "CoolStep";
break;
case TrinamicMode::StealthChop:
ret = "StealthChop";
break;
case TrinamicMode::StallGuard:
ret = "Stallguard";
break;
}
return ret;
}