diff --git a/Marlin/src/HAL/NATIVE_SIM/fastio.h b/Marlin/src/HAL/NATIVE_SIM/fastio.h index f501afdbaa..e0b7af09f9 100644 --- a/Marlin/src/HAL/NATIVE_SIM/fastio.h +++ b/Marlin/src/HAL/NATIVE_SIM/fastio.h @@ -28,6 +28,8 @@ #include "../shared/Marduino.h" #include +#define NO_COMPILE_TIME_PWM + #define SET_DIR_INPUT(IO) Gpio::setDir(IO, 1) #define SET_DIR_OUTPUT(IO) Gpio::setDir(IO, 0) diff --git a/Marlin/src/inc/Warnings.cpp b/Marlin/src/inc/Warnings.cpp index ac5aab6efc..be617aa2e8 100644 --- a/Marlin/src/inc/Warnings.cpp +++ b/Marlin/src/inc/Warnings.cpp @@ -944,8 +944,8 @@ #if ANY(BIQU_MICROPROBE_V1, BIQU_MICROPROBE_V2) #warning "Let us know if you experience any issues with BIQU Microprobe and FT_MOTION." #endif - #if DELAY_BEFORE_PROBING <= 25 - #warning "A DELAY_BEFORE_PROBING over 25 ms is recommended with FT_MOTION." + #if PROBE_WAKEUP_TIME_MS < 30 + #warning "A PROBE_WAKEUP_TIME_MS over 30 ms is recommended with FT_MOTION." #endif #endif diff --git a/Marlin/src/sd/cardreader.cpp b/Marlin/src/sd/cardreader.cpp index 24ee80a2cc..a2c0da933c 100644 --- a/Marlin/src/sd/cardreader.cpp +++ b/Marlin/src/sd/cardreader.cpp @@ -1378,6 +1378,13 @@ void CardReader::cdroot() { #endif #endif + #else // !SDSORT_USES_RAM + + // By default re-read the names from SD for every compare + // retaining only two filenames at a time. This is very + // slow but is safest and uses minimal RAM. + char name1[LONG_FILENAME_LENGTH]; + #endif // SDSORT_USES_RAM if (fileCnt > 1) {