Skip to content

Commit

Permalink
correct max belt length
Browse files Browse the repository at this point in the history
  • Loading branch information
i-make-robots committed Oct 12, 2022
1 parent c790909 commit 22a49ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/module/polargraph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ xy_pos_t draw_area_min = { X_MIN_POS, Y_MIN_POS },

xy_float_t draw_area_size = { X_MAX_POS - X_MIN_POS, Y_MAX_POS - Y_MIN_POS };

float polargraph_max_belt_len = HYPOT(draw_area_size.x, draw_area_size.y);
float polargraph_max_belt_len = POLARGRAPH_MAX_BELT_LEN;

void inverse_kinematics(const xyz_pos_t &raw) {
const float x1 = raw.x - (draw_area_min.x), x2 = (draw_area_max.x) - raw.x, y = raw.y - (draw_area_max.y);
Expand Down

0 comments on commit 22a49ac

Please sign in to comment.