Remove redundant extern variable is_usb_printing from tmc2130.cpp

This extern variable is included from Marlin.h
This commit is contained in:
Guðni Már Gilbert 2021-06-20 14:49:48 +00:00 committed by DRracer
parent 6aee17b4ca
commit d087973e00

View file

@ -243,8 +243,6 @@ uint8_t tmc2130_sample_diag()
return mask;
}
extern bool is_usb_printing;
void tmc2130_st_isr()
{
if (tmc2130_mode == TMC2130_MODE_SILENT || tmc2130_sg_stop_on_crash == false) return;