Reduce ram and SPI speed

This commit is contained in:
InsanityAutomation
2022-10-23 12:35:46 -04:00
parent 64ffa0d4f4
commit 0e1b62e094
3 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -30,7 +30,7 @@
#define tallVersion
//#define ABL_Bilinear
#define ABL_Bilinear
/*
* Enables a filament sensor plugged into the laser pin. Disables the laser
*/
@@ -2685,6 +2685,7 @@
* SD Card support is disabled by default. If your controller has an SD slot,
* you must uncomment the following option or it won't work.
*/
#define SD_SPI_SPEED SPI_HALF_SPEED
#define SDSUPPORT
/**
+1 -1
View File
@@ -1610,7 +1610,7 @@
// Allow international symbols in long filenames. To display correctly, the
// LCD's font must contain the characters. Check your selected LCD language.
//#define UTF_FILENAME_SUPPORT
#define UTF_FILENAME_SUPPORT
#define LONG_FILENAME_HOST_SUPPORT // Get the long filename of a file/folder with 'M33 <dosname>' and list long filenames with 'M20 L'
//#define LONG_FILENAME_WRITE_SUPPORT // Create / delete files with long filenames via M28, M30, and Binary Transfer Protocol
+1 -1
View File
@@ -3231,7 +3231,7 @@ void MarlinSettings::reset() {
#if ENABLED(DISTINCT_E_FACTORS)
constexpr float linAdvanceK[] = ADVANCE_K;
EXTRUDER_LOOP() {
const float a = linAdvanceK[_MAX(e, COUNT(linAdvanceK) - 1)];
const float a = linAdvanceK[_MAX(e, (int8_t)COUNT(linAdvanceK) - 1)];
planner.extruder_advance_K[e] = a;
TERN_(ADVANCE_K_EXTRA, other_extruder_advance_K[e] = a);
}