|
@ -2090,16 +2090,30 @@ void Temperature::init() { |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if HAS_MAX31865_TEMP |
|
|
#if HAS_MAX31865_TEMP |
|
|
TERN_(TEMP_SENSOR_IS_MAX(0, MAX31865), max31865_0.begin(MAX31865_2WIRE)); // MAX31865_2WIRE, MAX31865_3WIRE, MAX31865_4WIRE
|
|
|
#if TEMP_SENSOR_IS_MAX(0, MAX31865) |
|
|
TERN_(TEMP_SENSOR_IS_MAX(1, MAX31865), max31865_1.begin(MAX31865_2WIRE)); |
|
|
max31865_0.begin(MAX31865_2WIRE); // MAX31865_2WIRE, MAX31865_3WIRE, MAX31865_4WIRE
|
|
|
#endif |
|
|
#endif |
|
|
|
|
|
#if TEMP_SENSOR_IS_MAX(1, MAX31865) |
|
|
|
|
|
max31865_1.begin(MAX31865_2WIRE); |
|
|
|
|
|
#endif |
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
|
#if HAS_MAX31855_TEMP |
|
|
#if HAS_MAX31855_TEMP |
|
|
TERN_(TEMP_SENSOR_IS_MAX(0, MAX31855), max31855_0.begin()); |
|
|
#if TEMP_SENSOR_IS_MAX(0, MAX31855) |
|
|
TERN_(TEMP_SENSOR_IS_MAX(1, MAX31855), max31855_1.begin()); |
|
|
max31855_0.begin(MAX31855); |
|
|
|
|
|
#endif |
|
|
|
|
|
#if TEMP_SENSOR_IS_MAX(1, MAX31855) |
|
|
|
|
|
max31855_1.begin(MAX31855); |
|
|
|
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if HAS_MAX6675_TEMP |
|
|
#if HAS_MAX6675_TEMP |
|
|
TERN_(TEMP_SENSOR_IS_MAX(0, MAX6675), max6675_0.begin()); |
|
|
#if TEMP_SENSOR_IS_MAX(0, MAX6675) |
|
|
TERN_(TEMP_SENSOR_IS_MAX(1, MAX6675), max6675_1.begin()); |
|
|
max6675_0.begin(MAX6675); |
|
|
|
|
|
#endif |
|
|
|
|
|
#if TEMP_SENSOR_IS_MAX(1, MAX6675) |
|
|
|
|
|
max6675_1.begin(MAX6675); |
|
|
|
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if MB(RUMBA) |
|
|
#if MB(RUMBA) |
|
|