🔧 SDSUPPORT => HAS_MEDIA

This commit is contained in:
Scott Lahteine 2023-04-22 22:57:26 -05:00
parent d9711a27c2
commit 140d3ee9c9
310 changed files with 2478 additions and 2478 deletions

View file

@ -1605,13 +1605,13 @@
#define SET_REMAINING_TIME // Add 'R' parameter to set remaining time
//#define SET_INTERACTION_TIME // Add 'C' parameter to set time until next filament change or other user interaction
//#define M73_REPORT // Report M73 values to host
#if BOTH(M73_REPORT, SDSUPPORT)
#if BOTH(M73_REPORT, HAS_MEDIA)
#define M73_REPORT_SD_ONLY // Report only when printing from SD
#endif
#endif
// LCD Print Progress options. Multiple times may be displayed in turn.
#if HAS_DISPLAY && EITHER(SDSUPPORT, SET_PROGRESS_MANUALLY)
#if HAS_DISPLAY && EITHER(HAS_MEDIA, SET_PROGRESS_MANUALLY)
#define SHOW_PROGRESS_PERCENT // Show print progress percentage (doesn't affect progress bar)
#define SHOW_ELAPSED_TIME // Display elapsed printing time (prefix 'E')
//#define SHOW_REMAINING_TIME // Display estimated time to completion (prefix 'R')
@ -1632,7 +1632,7 @@
#endif
#endif
#if ENABLED(SDSUPPORT)
#if HAS_MEDIA
/**
* SD Card SPI Speed
* May be required to resolve "volume init" errors.
@ -1872,7 +1872,7 @@
#define DEFAULT_SHARED_VOLUME SV_USB_FLASH_DRIVE
#endif
#endif // SDSUPPORT
#endif // HAS_MEDIA
/**
* By default an onboard SD card reader may be shared as a USB mass-
@ -1885,7 +1885,7 @@
* Enable this if you need Marlin to take care of the shared media I/O.
* Useful if shared media isn't working properly on some boards.
*/
#if ENABLED(SDSUPPORT) && DISABLED(NO_SD_HOST_DRIVE)
#if HAS_MEDIA && DISABLED(NO_SD_HOST_DRIVE)
//#define DISKIO_HOST_DRIVE
#endif
@ -2509,9 +2509,9 @@
// The number of linear moves that can be in the planner at once.
// The value of BLOCK_BUFFER_SIZE must be a power of 2 (e.g., 8, 16, 32)
#if BOTH(SDSUPPORT, DIRECT_STEPPING)
#if BOTH(HAS_MEDIA, DIRECT_STEPPING)
#define BLOCK_BUFFER_SIZE 8
#elif ENABLED(SDSUPPORT)
#elif HAS_MEDIA
#define BLOCK_BUFFER_SIZE 16
#else
#define BLOCK_BUFFER_SIZE 16
@ -2544,7 +2544,7 @@
//#define SERIAL_XON_XOFF
#endif
#if ENABLED(SDSUPPORT)
#if HAS_MEDIA
// Enable this option to collect and display the maximum
// RX queue usage after transferring a file to SD.
//#define SERIAL_STATS_MAX_RX_QUEUED