Closed Ergonomicmike closed 2 years ago
MAX_ACCEL_EDIT_VALUES is not used in JYERSUI.
The editing values are taken from DEFAULT_MAX_ACCELERATION:
And maximums defined as DEFAULT_MAX_ACCELERATION x 2:
Thanks again. As in my previous issue, perhaps a comment in the example Jyers Configuration.h then that Max Accel Edit Values are not used.
Marlin configuration files are very generic because they are used by hundreds of printers, you must learn how to use the Search function in VSCode to know if a value is used or not in JYersUI.
Description
LCh-77/Marlin/tree/bugfix-2.1.x_JYERSUI-Enhanced as of today.
Ender 3 V2, v4.2.2
Perhaps I'm not understanding correctly how the code is supposed to work. Here's a snippet of the vanilla code in question:
From Configuration.h:
If I uncomment
#define LIMITED_MAX_ACCCEL_EDITING
then I expect to be able to set my E-Accel up to 20000 if I want.
But I can only increase E-Accel to 2x the Default value.
Steps to Reproduce
Uncomment
//#define LIMITED_MAX_ACCCEL_EDITING
in Configuration.h and compile.
Expected behavior:
I expect to be able to increase my Max E Accel to 20000.
Actual behavior:
I can only increase my Max E Accel to 2000, which is 2x of DEFAULT_MAX_ACCELERATION.
Additional Information
So it seems as though the line to define the MAX_ACCEL_EDIT_VALUES is being ignored, and the line before it, which the comment says increases the Defaults to 2x is controlling.
For now, as a workaround, I simple set the Default E-Accel to 10000 and then dial it down after I flash the firmware.