diff options
author | Christian Hammacher <bmasterc@gmail.com> | 2021-10-28 14:58:15 +0300 |
---|---|---|
committer | Christian Hammacher <bmasterc@gmail.com> | 2021-10-28 14:58:15 +0300 |
commit | 8207b22cc13e7893ae1cb43f4aef4a7632cac5b3 (patch) | |
tree | bd49861385980e72aeb6fe16fae0c3acc5895852 /src/PrintMonitor | |
parent | 5e9d621403eb54b00a84d4824b75c056121730aa (diff) |
SBC improvements for 3.4-b6
Refactored various parts of the SBC interface
Renamed Linux to SBC in various places
CAN updater checks if file is present on SBC before update
SBC task is only woken up when SPI transfers finish
Bug fix: Codes that were sent back to the SBC (e.g. from USB) caused temp reports to be printed
Bug fix: SBC reconnects could take longer than expected
Diffstat (limited to 'src/PrintMonitor')
-rw-r--r-- | src/PrintMonitor/PrintMonitor.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/PrintMonitor/PrintMonitor.cpp b/src/PrintMonitor/PrintMonitor.cpp index 96cbac0f..c2c39f53 100644 --- a/src/PrintMonitor/PrintMonitor.cpp +++ b/src/PrintMonitor/PrintMonitor.cpp @@ -179,8 +179,8 @@ void PrintMonitor::SetSlicerTimeLeft(float seconds) noexcept void PrintMonitor::Spin() noexcept { -#if HAS_LINUX_INTERFACE - if (reprap.UsingLinuxInterface()) +#if HAS_SBC_INTERFACE + if (reprap.UsingSbcInterface()) { if (!printingFileParsed) { @@ -292,8 +292,8 @@ void PrintMonitor::StartingPrint(const char* filename) noexcept #if HAS_MASS_STORAGE || HAS_EMBEDDED_FILES WriteLocker locker(printMonitorLock); MassStorage::CombineName(filenameBeingPrinted.GetRef(), platform.GetGCodeDir(), filename); -# if HAS_LINUX_INTERFACE - if (!reprap.UsingLinuxInterface()) +# if HAS_SBC_INTERFACE + if (!reprap.UsingSbcInterface()) # endif { printingFileParsed = false; |