Ignore M22 during SD print
This commit is contained in:
parent
6596a50c90
commit
5ee1087959
@ -35,6 +35,10 @@ void GcodeSuite::M21() { card.mount(); }
|
|||||||
/**
|
/**
|
||||||
* M22: Release SD Card
|
* M22: Release SD Card
|
||||||
*/
|
*/
|
||||||
void GcodeSuite::M22() { card.release(); }
|
void GcodeSuite::M22() {
|
||||||
|
|
||||||
|
if (!IS_SD_PRINTING()) card.release();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
#endif // SDSUPPORT
|
#endif // SDSUPPORT
|
||||||
|
Loading…
Reference in New Issue
Block a user