🐛 Followup to TEMP_SENSOR_BOARD (#22343, #22344)

Followup to #22279
This commit is contained in:
Katelyn Schiesser
2021-07-12 20:57:01 -07:00
committed by Scott Lahteine
parent 315a722b42
commit 4479b0222b
5 changed files with 40 additions and 10 deletions

View File

@@ -1135,6 +1135,23 @@
#endif
#endif
#if TEMP_SENSOR_BOARD == -4
#define TEMP_SENSOR_BOARD_IS_AD8495 1
#elif TEMP_SENSOR_BOARD == -3
#error "MAX31855 Thermocouples (-3) not supported for TEMP_SENSOR_BOARD."
#elif TEMP_SENSOR_BOARD == -2
#error "MAX6675 Thermocouples (-2) not supported for TEMP_SENSOR_BOARD."
#elif TEMP_SENSOR_BOARD == -1
#define TEMP_SENSOR_BOARD_IS_AD595 1
#elif TEMP_SENSOR_BOARD > 0
#define TEMP_SENSOR_BOARD_IS_THERMISTOR 1
#if TEMP_SENSOR_BOARD == 1000
#define TEMP_SENSOR_BOARD_IS_CUSTOM 1
#elif TEMP_SENSOR_BOARD == 998 || TEMP_SENSOR_BOARD == 999
#define TEMP_SENSOR_BOARD_IS_DUMMY 1
#endif
#endif
/**
* X_DUAL_ENDSTOPS endstop reassignment
*/