|
@ -1539,8 +1539,8 @@ ISR(TIMER0_COMPB_vect) { |
|
|
#else |
|
|
#else |
|
|
#define GE0 >= |
|
|
#define GE0 >= |
|
|
#endif |
|
|
#endif |
|
|
if ((current_temperature_raw[0]) GE0 (maxttemp_raw[0])) max_temp_error(0); |
|
|
if (current_temperature_raw[0] GE0 maxttemp_raw[0]) max_temp_error(0); |
|
|
if ((minttemp_raw[0]) GE0 (current_temperature_raw[0])) min_temp_error(0); |
|
|
if (minttemp_raw[0] GE0 current_temperature_raw[0]) min_temp_error(0); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if HAS_TEMP_1 |
|
|
#if HAS_TEMP_1 |
|
@ -1549,8 +1549,8 @@ ISR(TIMER0_COMPB_vect) { |
|
|
#else |
|
|
#else |
|
|
#define GE1 >= |
|
|
#define GE1 >= |
|
|
#endif |
|
|
#endif |
|
|
if ((current_temperature_raw[1]) GE1 (maxttemp_raw[1])) max_temp_error(1); |
|
|
if (current_temperature_raw[1] GE1 maxttemp_raw[1]) max_temp_error(1); |
|
|
if ((minttemp_raw[1]) GE1 (current_temperature_raw[1])) min_temp_error(1); |
|
|
if (minttemp_raw[1] GE1 current_temperature_raw[1]) min_temp_error(1); |
|
|
#endif // TEMP_SENSOR_1
|
|
|
#endif // TEMP_SENSOR_1
|
|
|
|
|
|
|
|
|
#if HAS_TEMP_2 |
|
|
#if HAS_TEMP_2 |
|
@ -1559,8 +1559,8 @@ ISR(TIMER0_COMPB_vect) { |
|
|
#else |
|
|
#else |
|
|
#define GE2 >= |
|
|
#define GE2 >= |
|
|
#endif |
|
|
#endif |
|
|
if ((current_temperature_raw[2]) GE2 (maxttemp_raw[2])) max_temp_error(2); |
|
|
if (current_temperature_raw[2] GE2 (maxttemp_raw[2]) max_temp_error(2); |
|
|
if ((minttemp_raw[2]) GE2 (current_temperature_raw[2])) min_temp_error(2); |
|
|
if (minttemp_raw[2] GE2 current_temperature_raw[2]) min_temp_error(2); |
|
|
#endif // TEMP_SENSOR_2
|
|
|
#endif // TEMP_SENSOR_2
|
|
|
|
|
|
|
|
|
#if HAS_TEMP_3 |
|
|
#if HAS_TEMP_3 |
|
@ -1569,8 +1569,8 @@ ISR(TIMER0_COMPB_vect) { |
|
|
#else |
|
|
#else |
|
|
#define GE3 >= |
|
|
#define GE3 >= |
|
|
#endif |
|
|
#endif |
|
|
if ((current_temperature_raw[3]) GE3 (maxttemp_raw[3])) max_temp_error(3); |
|
|
if (current_temperature_raw[3] GE3 maxttemp_raw[3]) max_temp_error(3); |
|
|
if ((minttemp_raw[3]) GE3 (current_temperature_raw[3])) min_temp_error(3); |
|
|
if (minttemp_raw[3] GE3 current_temperature_raw[3]) min_temp_error(3); |
|
|
#endif // TEMP_SENSOR_3
|
|
|
#endif // TEMP_SENSOR_3
|
|
|
|
|
|
|
|
|
#if HAS_TEMP_BED |
|
|
#if HAS_TEMP_BED |
|
|