🧑‍💻 Optimize PlatformIO source filtering (#25332)

Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
Martin Turski 2023-04-27 14:05:24 +02:00 committed by GitHub
parent 774861b15d
commit 9a7d9e6995
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
45 changed files with 650 additions and 297 deletions

View file

@ -1061,7 +1061,7 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
case 422: M422(); break; // M422: Set Z Stepper automatic alignment position using probe
#endif
#if ALL(SPI_FLASH, HAS_MEDIA, MARLIN_DEV_MODE)
#if SPI_FLASH_BACKUP
case 993: M993(); break; // M993: Backup SPI Flash to SD
case 994: M994(); break; // M994: Load a Backup from SD to SPI Flash
#endif