From 2513f6b5501b6f9fcc9f0fcfabae0b119cb1634d Mon Sep 17 00:00:00 2001 From: Chris Pepper Date: Mon, 4 Mar 2019 16:44:54 +0000 Subject: [PATCH] Fix multiport G28 with Binary Transfer (#13308) --- Marlin/src/gcode/sdcard/M28_M29.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Marlin/src/gcode/sdcard/M28_M29.cpp b/Marlin/src/gcode/sdcard/M28_M29.cpp index 6b8a05cc0e..815a43ae0c 100644 --- a/Marlin/src/gcode/sdcard/M28_M29.cpp +++ b/Marlin/src/gcode/sdcard/M28_M29.cpp @@ -27,6 +27,10 @@ #include "../gcode.h" #include "../../sd/cardreader.h" +#if NUM_SERIAL > 1 + #include "../queue.h" +#endif + /** * M28: Start SD Write */