diff options
Diffstat (limited to 'src/Linux/LinuxInterface.h')
-rw-r--r-- | src/Linux/LinuxInterface.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/Linux/LinuxInterface.h b/src/Linux/LinuxInterface.h index b28d88d2..74936723 100644 --- a/src/Linux/LinuxInterface.h +++ b/src/Linux/LinuxInterface.h @@ -46,7 +46,6 @@ public: void EventOccurred(bool timeCritical = false) noexcept; // Called when a new event has happened. It can optionally start off a new transfer immediately GCodeResult HandleM576(GCodeBuffer& gb, const StringRef& reply) noexcept; // Set the SPI communication parameters - bool HasPrintStarted(); bool HasPrintStopped(); StopPrintReason GetPrintStopReason() const { return printStopReason; } bool FillBuffer(GCodeBuffer &gb) noexcept; // Try to fill up the G-code buffer with the next available G-code @@ -80,7 +79,7 @@ private: GCodeFileInfo fileInfo; FilePosition pauseFilePosition; PrintPausedReason pauseReason; - bool reportPause, reportPauseWritten, printStarted, printStopped; + bool reportPause, reportPauseWritten, printStopped; StopPrintReason printStopReason; char *codeBuffer; @@ -147,17 +146,6 @@ inline void LinuxInterface::SetPauseReason(FilePosition position, PrintPausedRea reportPause = true; } -inline bool LinuxInterface::HasPrintStarted() -{ - TaskCriticalSectionLocker locker; - if (printStarted) - { - printStarted = false; - return true; - } - return false; -} - inline bool LinuxInterface::HasPrintStopped() { TaskCriticalSectionLocker locker; |