Support neg temps on TEMP_SENSOR_1 for MAX31855
This commit is contained in:
parent
05645068c2
commit
e71c2b78c4
1 changed files with 1 additions and 1 deletions
|
|
@ -2338,7 +2338,7 @@ void Temperature::disable_all_heaters() {
|
|||
max6675_errors[hindex] = 0;
|
||||
}
|
||||
|
||||
#if MAX6675_0_IS_MAX31855
|
||||
#if MAX6675_0_IS_MAX31855 || MAX6675_1_IS_MAX31855
|
||||
if (max6675_temp & 0x00002000) max6675_temp |= 0xFFFFC000; // Support negative temperature
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue