소스 검색

Tweak code formatting

Scott Lahteine 4 년 전
부모
커밋
54ec6a0ce2
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3
    3
      Marlin/src/module/temperature.cpp

+ 3
- 3
Marlin/src/module/temperature.cpp 파일 보기

@@ -1233,9 +1233,9 @@ void Temperature::manage_heater() {
1233 1233
           #ifndef MIN_COOLING_SLOPE_DEG_CHAMBER_VENT
1234 1234
             #define MIN_COOLING_SLOPE_DEG_CHAMBER_VENT 1.5
1235 1235
           #endif
1236
-          if( (temp_chamber.celsius - temp_chamber.target >= HIGH_EXCESS_HEAT_LIMIT) && !flag_chamber_excess_heat) {
1237
-          // open vent after MIN_COOLING_SLOPE_TIME_CHAMBER_VENT seconds
1238
-          // if the temperature did not drop at least MIN_COOLING_SLOPE_DEG_CHAMBER_VENT
1236
+          if (!flag_chamber_excess_heat && temp_chamber.celsius - temp_chamber.target >= HIGH_EXCESS_HEAT_LIMIT) {
1237
+            // Open vent after MIN_COOLING_SLOPE_TIME_CHAMBER_VENT seconds if the
1238
+            // temperature didn't drop at least MIN_COOLING_SLOPE_DEG_CHAMBER_VENT
1239 1239
             if (next_cool_check_ms_2 == 0 || ELAPSED(ms, next_cool_check_ms_2)) {
1240 1240
               if (old_temp - temp_chamber.celsius < float(MIN_COOLING_SLOPE_DEG_CHAMBER_VENT)) flag_chamber_excess_heat = true; //the bed is heating the chamber too much
1241 1241
               next_cool_check_ms_2 = ms + 1000UL * MIN_COOLING_SLOPE_TIME_CHAMBER_VENT;

Loading…
취소
저장