Use IS_SD_PRINTING() more

This commit is contained in:
Scott Lahteine
2018-11-06 20:52:39 -06:00
parent 4dbaa6369f
commit 488a17b3f5
7 changed files with 11 additions and 10 deletions

View File

@ -226,7 +226,7 @@ void GcodeSuite::M30() {
*
*/
void GcodeSuite::M32() {
if (card.sdprinting) planner.synchronize();
if (IS_SD_PRINTING()) planner.synchronize();
if (card.cardOK) {
const bool call_procedure = parser.boolval('P');