소스 검색

-disable TEMP Min MAX Kill while using PS_ON Pin

ON GEN7 there is no temperature reading when power is off.. so Marlin
would kill itself. There seems to be an update from "Traumflug" on GEN7
using standby VCC for thermistors.
Christian Thalhammer 12 년 전
부모
커밋
14702089ee
1개의 변경된 파일12개의 추가작업 그리고 4개의 파일을 삭제
  1. 12
    4
      Marlin/temperature.cpp

+ 12
- 4
Marlin/temperature.cpp 파일 보기

@@ -763,13 +763,21 @@ ISR(TIMER0_COMPB_vect)
763 763
     for(unsigned char e = 0; e < EXTRUDERS; e++) {
764 764
        if(current_raw[e] >= maxttemp[e]) {
765 765
           target_raw[e] = 0;
766
-          max_temp_error(e);
767
-          kill();;
766
+          #if (PS_ON != -1)
767
+          {
768
+            max_temp_error(e);
769
+            kill();;
770
+          }
771
+          #endif
768 772
        }
769 773
        if(current_raw[e] <= minttemp[e]) {
770 774
           target_raw[e] = 0;
771
-          min_temp_error(e);
772
-          kill();
775
+          #if (PS_ON != -1)
776
+          {
777
+            min_temp_error(e);
778
+            kill();
779
+          }
780
+          #endif
773 781
        }
774 782
     }
775 783
   

Loading…
취소
저장