Browse Source

Tweak sanity checks

pull/1/head
Scott Lahteine 5 years ago
parent
commit
d81de7f521
  1. 2
      Marlin/src/HAL/HAL_AVR/inc/SanityCheck.h
  2. 2
      Marlin/src/HAL/HAL_SAMD51/inc/SanityCheck.h

2
Marlin/src/HAL/HAL_AVR/inc/SanityCheck.h

@ -39,7 +39,7 @@
* Checks for FAST PWM * Checks for FAST PWM
*/ */
#if ENABLED(FAST_PWM_FAN) && (ENABLED(USE_OCR2A_AS_TOP) && defined(TCCR2)) #if ENABLED(FAST_PWM_FAN) && (ENABLED(USE_OCR2A_AS_TOP) && defined(TCCR2))
#error "USE_OCR2A_AS_TOP does not apply to devices with a single output TIMER2" #error "USE_OCR2A_AS_TOP does not apply to devices with a single output TIMER2"
#endif #endif
/** /**

2
Marlin/src/HAL/HAL_SAMD51/inc/SanityCheck.h

@ -36,7 +36,7 @@
#endif #endif
#if ENABLED(SDIO_SUPPORT) #if ENABLED(SDIO_SUPPORT)
#error "SDIO_SUPPORT is not supported." #error "SDIO_SUPPORT is not supported on SAMD51."
#endif #endif
#if ENABLED(FAST_PWM_FAN) #if ENABLED(FAST_PWM_FAN)

Loading…
Cancel
Save