LPC1768 EEPROM fallback to flash, add overrides (#17184)
This commit is contained in:
@@ -1993,9 +1993,24 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
||||
static_assert(PWM_PIN(E2_AUTO_FAN_PIN), "E2" AF_ERR_SUFF);
|
||||
#elif HAS_AUTO_FAN_3
|
||||
static_assert(PWM_PIN(E3_AUTO_FAN_PIN), "E3" AF_ERR_SUFF);
|
||||
#elif HAS_AUTO_FAN_4
|
||||
static_assert(PWM_PIN(E4_AUTO_FAN_PIN), "E4" AF_ERR_SUFF);
|
||||
#elif HAS_AUTO_FAN_5
|
||||
static_assert(PWM_PIN(E5_AUTO_FAN_PIN), "E5" AF_ERR_SUFF);
|
||||
#elif HAS_AUTO_FAN_6
|
||||
static_assert(PWM_PIN(E6_AUTO_FAN_PIN), "E6" AF_ERR_SUFF);
|
||||
#elif HAS_AUTO_FAN_7
|
||||
static_assert(PWM_PIN(E7_AUTO_FAN_PIN), "E7" AF_ERR_SUFF);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Make sure only one EEPROM type is enabled
|
||||
*/
|
||||
#if ENABLED(EEPROM_SETTINGS) && 1 < ENABLED(SDCARD_EEPROM_EMULATION) + ENABLED(FLASH_EEPROM_EMULATION) + ENABLED(SRAM_EEPROM_EMULATION)
|
||||
#error "Please select only one of SDCARD, FLASH, or SRAM_EEPROM_EMULATION."
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Make sure only one display is enabled
|
||||
*/
|
||||
|
Reference in New Issue
Block a user