mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-01-17 14:18:16 +01:00
translator always said Stallguard regardless of actual mode
This commit is contained in:
parent
9658e87ddf
commit
c0ed41d4c8
@ -262,12 +262,16 @@ const char* trinamicModes(TrinamicMode mode) {
|
|||||||
switch (mode) {
|
switch (mode) {
|
||||||
case TrinamicMode::None:
|
case TrinamicMode::None:
|
||||||
ret = "ERROR";
|
ret = "ERROR";
|
||||||
|
break;
|
||||||
case TrinamicMode::CoolStep:
|
case TrinamicMode::CoolStep:
|
||||||
ret = "CoolStep";
|
ret = "CoolStep";
|
||||||
|
break;
|
||||||
case TrinamicMode::StealthChop:
|
case TrinamicMode::StealthChop:
|
||||||
ret = "StealthChop";
|
ret = "StealthChop";
|
||||||
|
break;
|
||||||
case TrinamicMode::StallGuard:
|
case TrinamicMode::StallGuard:
|
||||||
ret = "Stallguard";
|
ret = "Stallguard";
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user