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:
authorDavid Crocker <dcrocker@eschertech.com>2020-12-07 20:35:23 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-12-07 20:35:23 +0300
commite7e63b5e9972fa4a491bf8866c869f34d1c815c8 (patch)
tree06094c7e7d2b4c6e757a0507aeafd219f1dce330 /src/Display
parentda7c0c6f0c20486e5e91a7cf52b57d2283ef702a (diff)
Allow for no SD card present when using SBC interface
Diffstat (limited to 'src/Display')
-rw-r--r--src/Display/Menu.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Display/Menu.cpp b/src/Display/Menu.cpp
index 11fb3242..a5754a75 100644
--- a/src/Display/Menu.cpp
+++ b/src/Display/Menu.cpp
@@ -652,7 +652,12 @@ void Menu::EncoderAction(int action) noexcept
// Refresh is called every Spin() of the Display under most circumstances; an appropriate place to check if timeout action needs to be taken
void Menu::Refresh() noexcept
{
- if (!MassStorage::IsDriveMounted(0))
+ if (
+#if HAS_LINUX_INTERFACE
+ !reprap.UsingLinuxInterface() &&
+#endif
+ !MassStorage::IsDriveMounted(0)
+ )
{
if (!displayingFixedMenu)
{