|
1782 | 1782 | * |
1783 | 1783 | * [1] On AVR an interrupt-capable pin is best for UHS3 compatibility. |
1784 | 1784 | */ |
1785 | | - //#define USB_FLASH_DRIVE_SUPPORT |
1786 | | - #if ENABLED(USB_FLASH_DRIVE_SUPPORT) |
| 1785 | + #if HAS_USB_FLASH_DRIVE |
1787 | 1786 | /** |
1788 | 1787 | * USB Host Shield Library |
1789 | 1788 | * |
|
1842 | 1841 | //#define CUSTOM_FIRMWARE_UPLOAD |
1843 | 1842 | #endif |
1844 | 1843 |
|
1845 | | - /** |
1846 | | - * Set this option to one of the following (or the board's defaults apply): |
1847 | | - * |
1848 | | - * LCD - Use the SD drive in the external LCD controller. |
1849 | | - * ONBOARD - Use the SD drive on the control board. |
1850 | | - * CUSTOM_CABLE - Use a custom cable to access the SD (as defined in a pins file). |
1851 | | - * |
1852 | | - * :[ 'LCD', 'ONBOARD', 'CUSTOM_CABLE' ] |
1853 | | - */ |
1854 | | - //#define SDCARD_CONNECTION LCD |
1855 | | - |
1856 | 1844 | // Enable if SD detect is rendered useless (e.g., by using an SD extender) |
1857 | 1845 | //#define NO_SD_DETECT |
1858 | 1846 |
|
1859 | 1847 | /** |
1860 | 1848 | * Multiple volume support - EXPERIMENTAL. |
1861 | 1849 | * Adds 'M21 Pm' / 'M21 S' / 'M21 U' / 'M21 O' to mount SD Card / USB Drive / SDIO Card. |
1862 | 1850 | */ |
1863 | | - //#define MULTI_VOLUME |
1864 | | - #if ENABLED(MULTI_VOLUME) |
1865 | | - #define VOLUME_SD_ONBOARD |
1866 | | - #if ENABLED(USB_FLASH_DRIVE_SUPPORT) |
| 1851 | + #if HAS_MULTI_VOLUME |
| 1852 | + #define VOLUME_SD_ONBOARD 0 |
| 1853 | + #if HAS_USB_FLASH_DRIVE |
1867 | 1854 | #define VOLUME_USB_FLASH_DRIVE |
1868 | 1855 | #if ENABLED(VOLUME_USB_FLASH_DRIVE) |
1869 | 1856 | #define DEFAULT_SHARED_VOLUME SV_USB_FLASH_DRIVE |
1870 | 1857 | #endif |
1871 | | - #elif ENABLED(VOLUME_SD_ONBOARD) |
| 1858 | + #elif defined(VOLUME_SD_ONBOARD) |
1872 | 1859 | #define DEFAULT_SHARED_VOLUME SV_SD_ONBOARD |
1873 | 1860 | #else |
1874 | 1861 | #define DEFAULT_SHARED_VOLUME SV_SDIO_ONBOARD |
|
0 commit comments