93f0463b21
Add new 'callback' edit-menu types that call a function after the edit is done. Use this to display and edit Ki and Kd correctly (removing the scaling first and reapplying it after). Also use it to reset maximum stepwise acceleration rates, after updating mm/s^2 rates via menus. (Previously, changes did nothing to affect planner unless saved back to EEPROM, and the machine reset). Add calls to updatePID() so that PID loop uses updated values whether set by gcode (it already did this), or by restoring defaults, or loading from EEPROM (it didn't do those last two). Similarly, update the maximum step/s^2 accel rates when the mm/s^2 values are changed - whether by menu edits, restore defaults, or EEPROM read. Refactor the acceleration rate update logic, and the PID scaling logic, into new functions that can be called from wherever, including the callbacks. Add menu items to allow the z jerk and e jerk to be viewed/edited in the Control->Motion menu, as per xy jerk. Conflicts: Marlin/language.h |
||
---|---|---|
.. | ||
cardreader.cpp | ||
cardreader.h | ||
Configuration.h | ||
Configuration_adv.h | ||
ConfigurationStore.cpp | ||
ConfigurationStore.h | ||
COPYING | ||
create_speed_lookuptable.py | ||
createTemperatureLookupMarlin.py | ||
dogm_lcd_implementation.h | ||
DOGMbitmaps.h | ||
fastio.h | ||
language.h | ||
LCD Menu Tree.pdf | ||
LiquidCrystalRus.cpp | ||
LiquidCrystalRus.h | ||
Makefile | ||
Marlin.h | ||
Marlin.pde | ||
Marlin_main.cpp | ||
MarlinSerial.cpp | ||
MarlinSerial.h | ||
Menu Plans.xlsx | ||
motion_control.cpp | ||
motion_control.h | ||
pins.h | ||
planner.cpp | ||
planner.h | ||
Sd2Card.cpp | ||
Sd2Card.h | ||
Sd2PinMap.h | ||
SdBaseFile.cpp | ||
SdBaseFile.h | ||
SdFatConfig.h | ||
SdFatStructs.h | ||
SdFatUtil.cpp | ||
SdFatUtil.h | ||
SdFile.cpp | ||
SdFile.h | ||
SdInfo.h | ||
SdVolume.cpp | ||
SdVolume.h | ||
speed_lookuptable.h | ||
stepper.cpp | ||
stepper.h | ||
temperature.cpp | ||
temperature.h | ||
thermistortables.h | ||
ultralcd.cpp | ||
ultralcd.h | ||
ultralcd_implementation_hitachi_HD44780.h | ||
watchdog.cpp | ||
watchdog.h |