mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-01-29 13:19:53 +00:00
Ignore M22 during SD print
This commit is contained in:
parent
6596a50c90
commit
5ee1087959
1 changed files with 5 additions and 1 deletions
|
@ -35,6 +35,10 @@ void GcodeSuite::M21() { card.mount(); }
|
|||
/**
|
||||
* M22: Release SD Card
|
||||
*/
|
||||
void GcodeSuite::M22() { card.release(); }
|
||||
void GcodeSuite::M22() {
|
||||
|
||||
if (!IS_SD_PRINTING()) card.release();
|
||||
|
||||
}
|
||||
|
||||
#endif // SDSUPPORT
|
||||
|
|
Loading…
Reference in a new issue