Skip to content

Commit

Permalink
Update - bump toolchain ver., update_software_endstops
Browse files Browse the repository at this point in the history
  • Loading branch information
classicrocker883 committed Nov 12, 2024
1 parent e2730e3 commit e58f343
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
4 changes: 3 additions & 1 deletion Marlin/src/lcd/e3v2/proui/dwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3121,7 +3121,9 @@ void ApplyMaxAccel() { planner.set_max_acceleration(HMI_value.axis, MenuData.Val
void ApplyPhySet() {
TERN_(PROUI_EX, ProEx.CheckParkingPos();)
TERN_(MESH_BED_LEVELING, bedlevel.initialize();)
update_software_endstops(ALL_AXES_ENUM);
update_software_endstops(X_AXIS);
update_software_endstops(Y_AXIS);
update_software_endstops(Z_AXIS);
}
void SetData() {
ApplyPhySet();
Expand Down
10 changes: 5 additions & 5 deletions Marlin/src/module/motion.h
Original file line number Diff line number Diff line change
Expand Up @@ -130,19 +130,19 @@ extern int16_t feedrate_percentage;
inline float pgm_read_any(const float *p) { return TERN(__IMXRT1062__, *p, pgm_read_float(p)); }
inline int8_t pgm_read_any(const int8_t *p) { return TERN(__IMXRT1062__, *p, pgm_read_byte(p)); }

/* #if ENABLED(DWIN_LCD_PROUI)
#if ENABLED(DWIN_LCD_PROUI)
#define XYZ_DEFS(T, NAME, OPT) \
inline T NAME(const AxisEnum axis) { \
const XYZval<T> Value = NUM_AXIS_ARRAY(X_##OPT, Y_##OPT, Z_##OPT, I_##OPT, J_##OPT, K_##OPT, U_##OPT, V_##OPT, W_##OPT); \
return Value[axis]; \
const XYZval<T> NAME##_P = NUM_AXIS_ARRAY(X_##OPT, Y_##OPT, Z_##OPT, I_##OPT, J_##OPT, K_##OPT, U_##OPT, V_##OPT, W_##OPT); \
return NAME##_P[axis]; \
}
#else */
#else
#define XYZ_DEFS(T, NAME, OPT) \
inline T NAME(const AxisEnum axis) { \
static const XYZval<T> NAME##_P DEFS_PROGMEM = NUM_AXIS_ARRAY(X_##OPT, Y_##OPT, Z_##OPT, I_##OPT, J_##OPT, K_##OPT, U_##OPT, V_##OPT, W_##OPT); \
return pgm_read_any(&NAME##_P[axis]); \
}
//#endif
#endif

XYZ_DEFS(float, base_min_pos, MIN_POS);
XYZ_DEFS(float, base_max_pos, MAX_POS);
Expand Down
2 changes: 1 addition & 1 deletion ini/stm32f1-maple.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ lib_ignore = SPI, FreeRTOS701, FreeRTOS821
lib_deps = ${common.lib_deps}
SoftwareSerialM
platform_packages = tool-stm32duino
toolchain-gccarmnoneeabi@1.90201.191206
toolchain-gccarmnoneeabi@1.90301.200702
framework-arduinoststm32-maple@https://github.com/classicrocker883/Arduino_STM32/archive/master.zip
extra_scripts = ${common.extra_scripts}
pre:buildroot/share/PlatformIO/scripts/fix_framework_weakness.py
Expand Down

0 comments on commit e58f343

Please sign in to comment.