Pārlūkot izejas kodu

Followup for SPI Flash

Scott Lahteine 4 gadus atpakaļ
vecāks
revīzija
81f5973afc
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      Marlin/src/gcode/gcode.cpp

+ 1
- 1
Marlin/src/gcode/gcode.cpp Parādīt failu

@@ -896,7 +896,7 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
896 896
         case 422: M422(); break;                                  // M422: Set Z Stepper automatic alignment position using probe
897 897
       #endif
898 898
 
899
-      #if BOTH(HAS_SPI_FLASH, SDSUPPORT)
899
+      #if ALL(HAS_SPI_FLASH, SDSUPPORT, MARLIN_DEV_MODE)
900 900
         case 993: M993(); break;                                  // M993: Backup SPI Flash to SD
901 901
         case 994: M994(); break;                                  // M994: Load a Backup from SD to SPI Flash
902 902
       #endif

Notiek ielāde…
Atcelt
Saglabāt