Browse Source

🔧 Board temp sensor check

Scott Lahteine 2 years ago
parent
commit
1d35bb5d33
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/src/inc/SanityCheck.h

+ 4
- 0
Marlin/src/inc/SanityCheck.h View File

2294
   #error "CONTROLLER_FAN_MIN_BOARD_TEMP requires TEMP_SENSOR_BOARD."
2294
   #error "CONTROLLER_FAN_MIN_BOARD_TEMP requires TEMP_SENSOR_BOARD."
2295
 #endif
2295
 #endif
2296
 
2296
 
2297
+#if TEMP_SENSOR_BOARD && !PIN_EXISTS(TEMP_BOARD)
2298
+  #error "TEMP_SENSOR_BOARD requires TEMP_BOARD_PIN."
2299
+#endif
2300
+
2297
 #if ENABLED(LASER_COOLANT_FLOW_METER) && !(PIN_EXISTS(FLOWMETER) && ENABLED(LASER_FEATURE))
2301
 #if ENABLED(LASER_COOLANT_FLOW_METER) && !(PIN_EXISTS(FLOWMETER) && ENABLED(LASER_FEATURE))
2298
   #error "LASER_COOLANT_FLOW_METER requires FLOWMETER_PIN and LASER_FEATURE."
2302
   #error "LASER_COOLANT_FLOW_METER requires FLOWMETER_PIN and LASER_FEATURE."
2299
 #endif
2303
 #endif

Loading…
Cancel
Save