From 94228d4522cb66b5d4d9a93659303adc9785048a Mon Sep 17 00:00:00 2001
From: gallynero <gallynero@gmail.com>
Date: Thu, 12 Oct 2017 01:55:51 +0200
Subject: [PATCH] Enable change feedrate in delta

Enable change the relative feedrate on a printing job in delta machines with UBL
---
 Marlin/Marlin_main.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp
index 3ac04338f1f..633a5b78953 100644
--- a/Marlin/Marlin_main.cpp
+++ b/Marlin/Marlin_main.cpp
@@ -12539,7 +12539,7 @@ void prepare_move_to_destination() {
 
   if (
     #if UBL_DELTA // Also works for CARTESIAN (smaller segments follow mesh more closely)
-      ubl.prepare_segmented_line_to(destination, feedrate_mm_s)
+      ubl.prepare_segmented_line_to(destination, MMS_SCALED(feedrate_mm_s))
     #elif IS_KINEMATIC
       prepare_kinematic_move_to(destination)
     #elif ENABLED(DUAL_X_CARRIAGE)