diff options
author | Manuel Coenen <manuel@duet3d.com> | 2020-12-08 14:50:54 +0300 |
---|---|---|
committer | Manuel Coenen <manuel@duet3d.com> | 2020-12-08 14:50:54 +0300 |
commit | 84b6882bee082357379ddb2b060e492b86ba4292 (patch) | |
tree | a05e0c908f5720ee51bf6ef4f4edd7ebad9801fb /src/Pins.h | |
parent | 1254903e761f38bb4533a7f536d3d8af4d60b617 (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.h | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |