🧑💻 Generalize SDSUPPORT as HAS_MEDIA
In preparation for single- and multi-volume refactoring.
This commit is contained in:
parent
ce85b98db4
commit
5664c02d07
164 changed files with 399 additions and 397 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue