Fixed prepare_move function prototype and inlining
This commit is contained in:
parent
838eb69410
commit
3b3af86ec6
2 changed files with 2 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ void FlushSerialRequestResend();
|
||||||
void ClearToSend();
|
void ClearToSend();
|
||||||
|
|
||||||
void get_coordinates();
|
void get_coordinates();
|
||||||
|
void prepare_move();
|
||||||
void linear_move(unsigned long x_steps_remaining, unsigned long y_steps_remaining, unsigned long z_steps_remaining, unsigned long e_steps_remaining);
|
void linear_move(unsigned long x_steps_remaining, unsigned long y_steps_remaining, unsigned long z_steps_remaining, unsigned long e_steps_remaining);
|
||||||
void disable_x();
|
void disable_x();
|
||||||
void disable_y();
|
void disable_y();
|
||||||
|
|
|
||||||
|
|
@ -832,7 +832,7 @@ inline void get_coordinates()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void prepare_move()
|
inline void prepare_move()
|
||||||
{
|
{
|
||||||
//Find direction
|
//Find direction
|
||||||
if(destination_x >= current_x) direction_x=1;
|
if(destination_x >= current_x) direction_x=1;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue