Browse Source

Followup for SPI Flash

Scott Lahteine 5 years ago
parent
commit
81f5973afc
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/gcode/gcode.cpp

+ 1
- 1
Marlin/src/gcode/gcode.cpp View File

896
         case 422: M422(); break;                                  // M422: Set Z Stepper automatic alignment position using probe
896
         case 422: M422(); break;                                  // M422: Set Z Stepper automatic alignment position using probe
897
       #endif
897
       #endif
898
 
898
 
899
-      #if BOTH(HAS_SPI_FLASH, SDSUPPORT)
899
+      #if ALL(HAS_SPI_FLASH, SDSUPPORT, MARLIN_DEV_MODE)
900
         case 993: M993(); break;                                  // M993: Backup SPI Flash to SD
900
         case 993: M993(); break;                                  // M993: Backup SPI Flash to SD
901
         case 994: M994(); break;                                  // M994: Load a Backup from SD to SPI Flash
901
         case 994: M994(); break;                                  // M994: Load a Backup from SD to SPI Flash
902
       #endif
902
       #endif

Loading…
Cancel
Save