Skip to content

Commit

Permalink
Fixed typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnson, John T committed Sep 2, 2022
1 parent b5b0eec commit 8a5f52f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pcb-gcode.ulp
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,10 @@ void device_draw(int x1, int y1, int x2, int y2, int state, real z_down_or_radiu
real rx1, ry1, rx2, ry2;

string str;


real i_coord;
real j_coord;

rx1 = scale_x(x1);
ry1 = scale_y(y1);
rx2 = scale_x(x2);
Expand Down Expand Up @@ -659,7 +662,6 @@ void device_draw(int x1, int y1, int x2, int y2, int state, real z_down_or_radiu
comm(str);
i_coord = m_arc_center_x - rx1;
j_coord = m_arc_center_y - ry1;
if (m_z_up){
if (m_z_up){
rz(DEFAULT_Z_UP);
rxy(rx1, ry1);
Expand Down

0 comments on commit 8a5f52f

Please sign in to comment.