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:
authorManuel Coenen <manuel@duet3d.com>2020-12-08 14:50:54 +0300
committerManuel Coenen <manuel@duet3d.com>2020-12-08 14:50:54 +0300
commit84b6882bee082357379ddb2b060e492b86ba4292 (patch)
treea05e0c908f5720ee51bf6ef4f4edd7ebad9801fb /src/Pins.h
parent1254903e761f38bb4533a7f536d3d8af4d60b617 (diff)
Remove HAS_MASS_STORAGE and SUPPORT_SCANNER from Duet2_SBC
Fix wrong #import in DataTransfer Fix compiler and linker errors if HAS_MASS_STORAGE is false but HAS_LINUX_INTERFACE is true
Diffstat (limited to 'src/Pins.h')
-rw-r--r--src/Pins.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/Pins.h b/src/Pins.h
index 6253901d..382c878b 100644
--- a/src/Pins.h
+++ b/src/Pins.h
@@ -166,8 +166,13 @@
# define HAS_MASS_STORAGE 1
#endif
-#if SUPPORT_FTP && !HAS_MASS_STORAGE
-# error "FTP support requires mass storage, too."
+#if !HAS_MASS_STORAGE
+# if SUPPORT_FTP
+# error "FTP support requires mass storage, too."
+# endif
+# if SUPPORT_SCANNER
+# error "Scanner support requires mass storage, too."
+# endif
#endif
#ifndef SUPPORT_ASYNC_MOVES