Browse Source

Remove the previously introduced ()

AnHardt 9 years ago
parent
commit
488666832b
1 changed files with 8 additions and 8 deletions
  1. 8
    8
      Marlin/temperature.cpp

+ 8
- 8
Marlin/temperature.cpp View File

@@ -1539,8 +1539,8 @@ ISR(TIMER0_COMPB_vect) {
1539 1539
       #else
1540 1540
         #define GE0 >=
1541 1541
       #endif
1542
-      if ((current_temperature_raw[0]) GE0 (maxttemp_raw[0])) max_temp_error(0);
1543
-      if ((minttemp_raw[0]) GE0 (current_temperature_raw[0])) min_temp_error(0);
1542
+      if (current_temperature_raw[0] GE0 maxttemp_raw[0]) max_temp_error(0);
1543
+      if (minttemp_raw[0] GE0 current_temperature_raw[0]) min_temp_error(0);
1544 1544
     #endif
1545 1545
 
1546 1546
     #if HAS_TEMP_1
@@ -1549,8 +1549,8 @@ ISR(TIMER0_COMPB_vect) {
1549 1549
       #else
1550 1550
         #define GE1 >=
1551 1551
       #endif
1552
-      if ((current_temperature_raw[1]) GE1 (maxttemp_raw[1])) max_temp_error(1);
1553
-      if ((minttemp_raw[1]) GE1 (current_temperature_raw[1])) min_temp_error(1);
1552
+      if (current_temperature_raw[1] GE1 maxttemp_raw[1]) max_temp_error(1);
1553
+      if (minttemp_raw[1] GE1 current_temperature_raw[1]) min_temp_error(1);
1554 1554
     #endif // TEMP_SENSOR_1
1555 1555
 
1556 1556
     #if HAS_TEMP_2
@@ -1559,8 +1559,8 @@ ISR(TIMER0_COMPB_vect) {
1559 1559
       #else
1560 1560
         #define GE2 >=
1561 1561
       #endif
1562
-      if ((current_temperature_raw[2]) GE2 (maxttemp_raw[2])) max_temp_error(2);
1563
-      if ((minttemp_raw[2]) GE2 (current_temperature_raw[2])) min_temp_error(2);
1562
+      if (current_temperature_raw[2] GE2 (maxttemp_raw[2]) max_temp_error(2);
1563
+      if (minttemp_raw[2] GE2 current_temperature_raw[2]) min_temp_error(2);
1564 1564
     #endif // TEMP_SENSOR_2
1565 1565
 
1566 1566
     #if HAS_TEMP_3
@@ -1569,8 +1569,8 @@ ISR(TIMER0_COMPB_vect) {
1569 1569
       #else
1570 1570
         #define GE3 >=
1571 1571
       #endif
1572
-      if ((current_temperature_raw[3]) GE3 (maxttemp_raw[3])) max_temp_error(3);
1573
-      if ((minttemp_raw[3]) GE3 (current_temperature_raw[3])) min_temp_error(3);
1572
+      if (current_temperature_raw[3] GE3 maxttemp_raw[3]) max_temp_error(3);
1573
+      if (minttemp_raw[3] GE3 current_temperature_raw[3]) min_temp_error(3);
1574 1574
     #endif // TEMP_SENSOR_3
1575 1575
 
1576 1576
     #if HAS_TEMP_BED

Loading…
Cancel
Save