Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/Linux/LinuxInterface.cpp')
-rw-r--r--src/Linux/LinuxInterface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Linux/LinuxInterface.cpp b/src/Linux/LinuxInterface.cpp
index 6391bb00..d8450f6b 100644
--- a/src/Linux/LinuxInterface.cpp
+++ b/src/Linux/LinuxInterface.cpp
@@ -592,6 +592,11 @@ void LinuxInterface::Init() noexcept
if (channel.IsValid())
{
GCodeBuffer * const gb = reprap.GetGCodes().GetGCodeBuffer(channel);
+ if (gb->IsWaitingForMacro())
+ {
+ gb->ResolveMacroRequest(true, false);
+ }
+
MutexLocker locker(gb->mutex, 10);
if (locker)
{