Browse Source

Merge branch 'Marlin_v1' of https://github.com/ErikZalm/Marlin into Marlin_v1

pull/1/head
Neil Darlow 10 years ago
parent
commit
6c5a460e65
  1. 6
      Marlin/Marlin_main.cpp
  2. 2
      Marlin/vector_3.cpp

6
Marlin/Marlin_main.cpp

@ -1202,7 +1202,9 @@ static void homeaxis(int axis) {
}
#endif
#if defined (ENABLE_AUTO_BED_LEVELING) && (PROBE_SERVO_DEACTIVATION_DELAY > 0)
// if (axis==Z_AXIS) retract_z_probe();
#ifndef Z_PROBE_SLED
if (axis==Z_AXIS) retract_z_probe();
#endif
#endif
}
@ -1268,7 +1270,7 @@ void refresh_cmd_timeout(void)
} //retract
#endif //FWRETRACT
#ifdef ENABLE_AUTO_BED_LEVELING
#ifdef Z_PROBE_SLED
//
// Method to dock/undock a sled designed by Charles Bell.
//

2
Marlin/vector_3.cpp

@ -121,7 +121,7 @@ matrix_3x3 matrix_3x3::create_look_at(vector_3 target)
{
vector_3 z_row = target.get_normal();
vector_3 x_row = vector_3(1, 0, -target.x/target.z).get_normal();
vector_3 y_row = vector_3(0, 1, -target.y/target.z).get_normal();
vector_3 y_row = vector_3::cross(z_row, x_row).get_normal();
// x_row.debug("x_row");
// y_row.debug("y_row");

Loading…
Cancel
Save