Fix home issue

Possible fix for #7 and #8
This commit is contained in:
David Ramiro 2019-01-02 18:30:50 +01:00
parent 1a8f4e8b11
commit f877f1201f
No known key found for this signature in database
GPG Key ID: 5B042737EBEEB736
9 changed files with 23676 additions and 7894 deletions

View File

@ -203,7 +203,7 @@ void AnycubicTFTClass::HandleSpecialMenu()
SpecialMenu=true; SpecialMenu=true;
} else if (strcmp(SelectedDirectory, "<auto tune hotend pid>")==0) { } else if (strcmp(SelectedDirectory, "<auto tune hotend pid>")==0) {
SERIAL_PROTOCOLLNPGM("Special Menu: Auto Tune Hotend PID"); SERIAL_PROTOCOLLNPGM("Special Menu: Auto Tune Hotend PID");
enqueue_and_echo_commands_P(PSTR("M106 S178\nM303 E0 S210 C6 U1")); enqueue_and_echo_commands_P(PSTR("M106 S204\nM303 E0 S210 C6 U1"));
} else if (strcmp(SelectedDirectory, "<auto tune hotbed pid>")==0) { } else if (strcmp(SelectedDirectory, "<auto tune hotbed pid>")==0) {
SERIAL_PROTOCOLLNPGM("Special Menu: Auto Tune Hotbed Pid"); SERIAL_PROTOCOLLNPGM("Special Menu: Auto Tune Hotbed Pid");
enqueue_and_echo_commands_P(PSTR("M303 E-1 S60 C6 U1")); enqueue_and_echo_commands_P(PSTR("M303 E-1 S60 C6 U1"));
@ -212,7 +212,7 @@ void AnycubicTFTClass::HandleSpecialMenu()
enqueue_and_echo_commands_P(PSTR("M500")); enqueue_and_echo_commands_P(PSTR("M500"));
} else if (strcmp(SelectedDirectory, "<load fw defaults>")==0) { } else if (strcmp(SelectedDirectory, "<load fw defaults>")==0) {
SERIAL_PROTOCOLLNPGM("Special Menu: Load FW Defaults"); SERIAL_PROTOCOLLNPGM("Special Menu: Load FW Defaults");
enqueue_and_echo_commands_P(PSTR("M501")); enqueue_and_echo_commands_P(PSTR("M502"));
} else if (strcmp(SelectedDirectory, "<preheat bed>")==0) { } else if (strcmp(SelectedDirectory, "<preheat bed>")==0) {
SERIAL_PROTOCOLLNPGM("Special Menu: Preheat Bed"); SERIAL_PROTOCOLLNPGM("Special Menu: Preheat Bed");
enqueue_and_echo_commands_P(PSTR("M140 S60")); enqueue_and_echo_commands_P(PSTR("M140 S60"));

View File

@ -629,7 +629,7 @@
* Override with M201 * Override with M201
* X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]] * X, Y, Z, E0 [, E1[, E2[, E3[, E4]]]]
*/ */
#define DEFAULT_MAX_ACCELERATION { 2000, 2000, 60, 10000 } #define DEFAULT_MAX_ACCELERATION { 3000, 2000, 60, 10000 }
/** /**
* Default Acceleration (change/s) change = mm/s * Default Acceleration (change/s) change = mm/s
@ -640,8 +640,8 @@
* M204 T Travel Acceleration * M204 T Travel Acceleration
*/ */
#define DEFAULT_ACCELERATION 1200 // X, Y, Z and E acceleration for printing moves #define DEFAULT_ACCELERATION 1200 // X, Y, Z and E acceleration for printing moves
#define DEFAULT_RETRACT_ACCELERATION 1500 // E acceleration for retracts #define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts
#define DEFAULT_TRAVEL_ACCELERATION 2000 // X, Y, Z acceleration for travel (non printing) moves #define DEFAULT_TRAVEL_ACCELERATION 3000 // X, Y, Z acceleration for travel (non printing) moves
/** /**
* Default Jerk (mm/s) * Default Jerk (mm/s)

View File

@ -281,7 +281,7 @@
// If you want endstops to stay on (by default) even when not homing // If you want endstops to stay on (by default) even when not homing
// enable this option. Override at any time with M120, M121. // enable this option. Override at any time with M120, M121.
//#define ENDSTOPS_ALWAYS_ON_DEFAULT #define ENDSTOPS_ALWAYS_ON_DEFAULT
// @section extras // @section extras

7657
Marlin/Marlin.ino.mega.hex Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -48,7 +48,7 @@
* here we define this default string as the date where the latest release * here we define this default string as the date where the latest release
* version was tagged. * version was tagged.
*/ */
#define STRING_DISTRIBUTION_DATE "2018-12-31" #define STRING_DISTRIBUTION_DATE "2019-01-02"
/** /**
* Required minimum Configuration.h and Configuration_adv.h file versions. * Required minimum Configuration.h and Configuration_adv.h file versions.