Browse Source

Cleanups to UBL code

pull/1/head
Scott Lahteine 8 years ago
parent
commit
cd72901fb7
  1. 6
      Marlin/ubl_motion.cpp

6
Marlin/ubl_motion.cpp

@ -250,10 +250,8 @@
const float m = dy / dx, const float m = dy / dx,
c = start[Y_AXIS] - m * start[X_AXIS]; c = start[Y_AXIS] - m * start[X_AXIS];
bool inf_normalized_flag, inf_m_flag; const bool inf_normalized_flag = isinf(e_normalized_dist),
inf_m_flag = isinf(m);
inf_normalized_flag = isinf(e_normalized_dist);
inf_m_flag = isinf(m);
/** /**
* This block handles vertical lines. These are lines that stay within the same * This block handles vertical lines. These are lines that stay within the same

Loading…
Cancel
Save