Pārlūkot izejas kodu

🔧 Allow board & probe dummy thermistors (#24165)

Keith Bennett 2 gadus atpakaļ
vecāks
revīzija
1397cf0eaa
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
1 mainītis faili ar 0 papildinājumiem un 4 dzēšanām
  1. 0
    4
      Marlin/src/inc/SanityCheck.h

+ 0
- 4
Marlin/src/inc/SanityCheck.h Parādīt failu

@@ -2374,8 +2374,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
2374 2374
 #if TEMP_SENSOR_PROBE
2375 2375
   #if !PIN_EXISTS(TEMP_PROBE)
2376 2376
     #error "TEMP_SENSOR_PROBE requires TEMP_PROBE_PIN."
2377
-  #elif !HAS_TEMP_ADC_PROBE
2378
-    #error "TEMP_PROBE_PIN must be an ADC pin."
2379 2377
   #elif DISABLED(FIX_MOUNTED_PROBE)
2380 2378
     #error "TEMP_SENSOR_PROBE shouldn't be set without FIX_MOUNTED_PROBE."
2381 2379
   #endif
@@ -2384,8 +2382,6 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
2384 2382
 #if TEMP_SENSOR_BOARD
2385 2383
   #if !PIN_EXISTS(TEMP_BOARD)
2386 2384
     #error "TEMP_SENSOR_BOARD requires TEMP_BOARD_PIN."
2387
-  #elif !HAS_TEMP_ADC_BOARD
2388
-    #error "TEMP_BOARD_PIN must be an ADC pin."
2389 2385
   #elif ENABLED(THERMAL_PROTECTION_BOARD) && (!defined(BOARD_MINTEMP) || !defined(BOARD_MAXTEMP))
2390 2386
     #error "THERMAL_PROTECTION_BOARD requires BOARD_MINTEMP and BOARD_MAXTEMP."
2391 2387
   #endif

Notiek ielāde…
Atcelt
Saglabāt