|
|
@ -41,7 +41,7 @@ |
|
|
|
* location: <http://www.gnu.org/licenses/>. *
|
|
|
|
****************************************************************************/ |
|
|
|
|
|
|
|
#include "../../Marlin.h" |
|
|
|
#include "../../inc/MarlinConfigPre.h" |
|
|
|
|
|
|
|
#if ENABLED(EXTENSIBLE_UI) |
|
|
|
|
|
|
@ -136,7 +136,7 @@ namespace UI { |
|
|
|
#else |
|
|
|
|
|
|
|
// TODO: Implement for AVR
|
|
|
|
uint32_t safe_millis() { return millis(); } |
|
|
|
FORCE_INLINE uint32_t safe_millis() { return millis(); } |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
@ -399,6 +399,7 @@ namespace UI { |
|
|
|
#endif |
|
|
|
|
|
|
|
#if ENABLED(JUNCTION_DEVIATION) |
|
|
|
|
|
|
|
float getJunctionDeviation_mm() { |
|
|
|
return planner.junction_deviation_mm; |
|
|
|
} |
|
|
@ -407,7 +408,9 @@ namespace UI { |
|
|
|
planner.junction_deviation_mm = clamp(value, 0.01, 0.3); |
|
|
|
planner.recalculate_max_e_jerk(); |
|
|
|
} |
|
|
|
|
|
|
|
#else |
|
|
|
|
|
|
|
float getAxisMaxJerk_mm_s(const axis_t axis) { |
|
|
|
return planner.max_jerk[axis]; |
|
|
|
} |
|
|
|