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