Remove unused declarations from tmc2130.cpp. Move used declaration to Marlin.h.
This commit is contained in:
parent
a5db084b70
commit
4b47a74d1d
2 changed files with 1 additions and 6 deletions
|
@ -379,6 +379,7 @@ extern void delay_keep_alive(unsigned int ms);
|
|||
extern void check_babystep();
|
||||
|
||||
extern void long_pause();
|
||||
extern void crashdet_stop_and_save_print();
|
||||
|
||||
#ifdef DIS
|
||||
|
||||
|
|
|
@ -13,12 +13,6 @@
|
|||
#define TMC2130_GCONF_SGSENS 0x00003180 // spreadCycle with stallguard (stall activates DIAG0 and DIAG1 [pushpull])
|
||||
#define TMC2130_GCONF_SILENT 0x00000004 // stealthChop
|
||||
|
||||
//externals for debuging
|
||||
extern float current_position[4];
|
||||
extern void st_get_position_xy(long &x, long &y);
|
||||
extern long st_get_position(uint8_t axis);
|
||||
extern void crashdet_stop_and_save_print();
|
||||
extern void crashdet_stop_and_save_print2();
|
||||
|
||||
//mode
|
||||
uint8_t tmc2130_mode = TMC2130_MODE_NORMAL;
|
||||
|
|
Loading…
Reference in a new issue