Add support for TMC2660 (#11998)
This commit is contained in:
committed by
Scott Lahteine
parent
cf0b9eb37c
commit
c447d75916
@ -31,10 +31,14 @@
|
||||
* M122: Debug TMC drivers
|
||||
*/
|
||||
void GcodeSuite::M122() {
|
||||
if (parser.seen('S'))
|
||||
tmc_set_report_status(parser.value_bool());
|
||||
else
|
||||
tmc_report_all();
|
||||
|
||||
#if ENABLED(MONITOR_DRIVER_STATUS)
|
||||
if (parser.seen('S'))
|
||||
tmc_set_report_status(parser.value_bool());
|
||||
else
|
||||
#endif
|
||||
tmc_report_all();
|
||||
|
||||
}
|
||||
|
||||
#endif // TMC_DEBUG
|
||||
|
Reference in New Issue
Block a user