Browse Source

Help syntax highlighting (Sublime, et. al.)

pull/1/head
Scott Lahteine 6 years ago
parent
commit
9da02d2114
  1. 2
      Marlin/src/module/planner.cpp

2
Marlin/src/module/planner.cpp

@ -2768,11 +2768,13 @@ void Planner::set_machine_position_mm(const float &a, const float &b, const floa
void Planner::set_position_mm(const float &rx, const float &ry, const float &rz, const float &e) { void Planner::set_position_mm(const float &rx, const float &ry, const float &rz, const float &e) {
float raw[XYZE] = { rx, ry, rz, e }; float raw[XYZE] = { rx, ry, rz, e };
#if HAS_POSITION_MODIFIERS #if HAS_POSITION_MODIFIERS
{
apply_modifiers(raw apply_modifiers(raw
#if HAS_LEVELING #if HAS_LEVELING
, true , true
#endif #endif
); );
}
#endif #endif
#if IS_KINEMATIC #if IS_KINEMATIC
position_cart[X_AXIS] = rx; position_cart[X_AXIS] = rx;

Loading…
Cancel
Save