Help syntax highlighting (Sublime, et. al.)

This commit is contained in:
Scott Lahteine 2019-06-28 13:40:05 -05:00
parent ae9afb333e
commit 9da02d2114

View File

@ -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;