🧑‍💻 Generalize SDSUPPORT as HAS_MEDIA

In preparation for single- and multi-volume refactoring.
This commit is contained in:
Scott Lahteine 2023-04-22 22:43:09 -05:00
parent ce85b98db4
commit 5664c02d07
164 changed files with 399 additions and 397 deletions

View file

@ -199,7 +199,7 @@ void GcodeSuite::D(const int16_t dcode) {
SERIAL_ECHOLNPGM("FAILURE: Watchdog did not trigger board reset.");
} break;
#if ENABLED(SDSUPPORT)
#if HAS_MEDIA
case 101: { // D101 Test SD Write
card.openFileWrite("test.gco");
@ -250,7 +250,7 @@ void GcodeSuite::D(const int16_t dcode) {
card.closefile();
} break;
#endif // SDSUPPORT
#endif // HAS_MEDIA
#if ENABLED(POSTMORTEM_DEBUGGING)