|
@@ -1764,7 +1764,6 @@ ISR(TIMER0_COMPB_vect)
|
1764
|
1764
|
raw_temp_2_value += ADC;
|
1765
|
1765
|
#endif
|
1766
|
1766
|
temp_state = 8;
|
1767
|
|
-<<<<<<< HEAD
|
1768
|
1767
|
break;
|
1769
|
1768
|
case 8: // Prepare TEMP_3
|
1770
|
1769
|
#if defined(TEMP_3_PIN) && (TEMP_3_PIN > -1)
|
|
@@ -1785,28 +1784,6 @@ ISR(TIMER0_COMPB_vect)
|
1785
|
1784
|
#endif
|
1786
|
1785
|
temp_state = 10; //change so that Filament Width is also measured
|
1787
|
1786
|
break;
|
1788
|
|
-=======
|
1789
|
|
- break;
|
1790
|
|
- case 8: // Prepare TEMP_3
|
1791
|
|
- #if defined(TEMP_3_PIN) && (TEMP_3_PIN > -1)
|
1792
|
|
- #if TEMP_3_PIN > 7
|
1793
|
|
- ADCSRB = 1<<MUX5;
|
1794
|
|
- #else
|
1795
|
|
- ADCSRB = 0;
|
1796
|
|
- #endif
|
1797
|
|
- ADMUX = ((1 << REFS0) | (TEMP_3_PIN & 0x07));
|
1798
|
|
- ADCSRA |= 1<<ADSC; // Start conversion
|
1799
|
|
- #endif
|
1800
|
|
- lcd_buttons_update();
|
1801
|
|
- temp_state = 9;
|
1802
|
|
- break;
|
1803
|
|
- case 9: // Measure TEMP_3
|
1804
|
|
- #if defined(TEMP_3_PIN) && (TEMP_3_PIN > -1)
|
1805
|
|
- raw_temp_3_value += ADC;
|
1806
|
|
- #endif
|
1807
|
|
- temp_state = 10; //change so that Filament Width is also measured
|
1808
|
|
- break;
|
1809
|
|
->>>>>>> 0ebf896070e8364252df3b3f59111218f1918cc8
|
1810
|
1787
|
case 10: //Prepare FILWIDTH
|
1811
|
1788
|
#if defined(FILWIDTH_PIN) && (FILWIDTH_PIN> -1)
|
1812
|
1789
|
#if FILWIDTH_PIN>7
|