From 404ead5e0b3658bfdbad2be8d73fdd581a992a86 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Wed, 3 Jun 2020 12:38:40 +0200 Subject: [PATCH] Back to anycubic default acceleration settings. --- Marlin/src/lcd/anycubic_touchscreen.cpp | 3 +++ config/default/Configuration.h | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Marlin/src/lcd/anycubic_touchscreen.cpp b/Marlin/src/lcd/anycubic_touchscreen.cpp index 2c5139c2..4c559897 100755 --- a/Marlin/src/lcd/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/anycubic_touchscreen.cpp @@ -598,6 +598,9 @@ void AnycubicTouchscreenClass::Ls() { card.selectFileByIndex(cnt - 1); + + // Bugfix for non-printable special characters + // which are now replaced by underscores. int fileNameLen = strlen(card.longFilename); char buffer[fileNameLen]; diff --git a/config/default/Configuration.h b/config/default/Configuration.h index 5e06843d..5dea38c1 100755 --- a/config/default/Configuration.h +++ b/config/default/Configuration.h @@ -739,7 +739,7 @@ * Override with M201 * X, Y, Z, E0 [, E1[, E2...]] */ -#define DEFAULT_MAX_ACCELERATION { 3000, 1200, 60, 10000 } +#define DEFAULT_MAX_ACCELERATION { 3000, 2000, 60, 10000 } //#define LIMITED_MAX_ACCEL_EDITING // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2 #if ENABLED(LIMITED_MAX_ACCEL_EDITING) @@ -754,9 +754,9 @@ * M204 R Retract Acceleration * M204 T Travel Acceleration */ -#define DEFAULT_ACCELERATION 1500 // X, Y, Z and E acceleration for printing moves +#define DEFAULT_ACCELERATION 1800 // X, Y, Z and E acceleration for printing moves #define DEFAULT_RETRACT_ACCELERATION 3000 // E acceleration for retracts -#define DEFAULT_TRAVEL_ACCELERATION 1500 // X, Y, Z acceleration for travel (non printing) moves +#define DEFAULT_TRAVEL_ACCELERATION 1800 // X, Y, Z acceleration for travel (non printing) moves /** * Default Jerk limits (mm/s)