Add USB_FLASH_DRIVE_SUPPORT
This commit is contained in:
committed by
Scott Lahteine
parent
07fe8d28be
commit
2067619a26
@ -21,6 +21,8 @@
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#define __MARLIN_FIRMWARE__
|
||||
|
||||
//
|
||||
// Prefix header to acquire configurations
|
||||
//
|
||||
|
@ -1830,4 +1830,8 @@ static_assert(COUNT(sanity_arr_3) <= XYZE_N, "DEFAULT_MAX_ACCELERATION has too m
|
||||
#error "PRINTCOUNTER requires EEPROM_SETTINGS. Please update your Configuration."
|
||||
#endif
|
||||
|
||||
#if ENABLED(USB_FLASH_DRIVE_SUPPORT) && !(PIN_EXISTS(USB_CS) && PIN_EXISTS(USB_INTR))
|
||||
#error "USB_CS_PIN and USB_INTR_PIN are required for USB_FLASH_DRIVE_SUPPORT."
|
||||
#endif
|
||||
|
||||
#endif // _SANITYCHECK_H_
|
||||
|
Reference in New Issue
Block a user