Fix compiler warning: unused parameter 'pstep'.
This commit is contained in:
parent
5b9e7c4fe7
commit
790ae9f0ce
|
|
@ -297,9 +297,14 @@ extern float min_pos[3];
|
||||||
extern float max_pos[3];
|
extern float max_pos[3];
|
||||||
extern bool axis_known_position[3];
|
extern bool axis_known_position[3];
|
||||||
extern int fanSpeed;
|
extern int fanSpeed;
|
||||||
extern void homeaxis(int axis, uint8_t cnt = 1, uint8_t* pstep = 0);
|
|
||||||
extern int8_t lcd_change_fil_state;
|
extern int8_t lcd_change_fil_state;
|
||||||
|
|
||||||
|
#ifdef TMC2130
|
||||||
|
void homeaxis(int axis, uint8_t cnt = 1, uint8_t* pstep = 0);
|
||||||
|
#else
|
||||||
|
void homeaxis(int axis, uint8_t cnt = 1);
|
||||||
|
#endif //TMC2130
|
||||||
|
|
||||||
|
|
||||||
#ifdef FAN_SOFT_PWM
|
#ifdef FAN_SOFT_PWM
|
||||||
extern unsigned char fanSpeedSoftPwm;
|
extern unsigned char fanSpeedSoftPwm;
|
||||||
|
|
|
||||||
|
|
@ -2126,7 +2126,11 @@ bool calibrate_z_auto()
|
||||||
}
|
}
|
||||||
#endif //TMC2130
|
#endif //TMC2130
|
||||||
|
|
||||||
|
#ifdef TMC2130
|
||||||
void homeaxis(int axis, uint8_t cnt, uint8_t* pstep)
|
void homeaxis(int axis, uint8_t cnt, uint8_t* pstep)
|
||||||
|
#else
|
||||||
|
void homeaxis(int axis, uint8_t cnt)
|
||||||
|
#endif //TMC2130
|
||||||
{
|
{
|
||||||
bool endstops_enabled = enable_endstops(true); //RP: endstops should be allways enabled durring homing
|
bool endstops_enabled = enable_endstops(true); //RP: endstops should be allways enabled durring homing
|
||||||
#define HOMEAXIS_DO(LETTER) \
|
#define HOMEAXIS_DO(LETTER) \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue