Commit 1a93d524e91f039cd0f54a87f060d1f6a8e5da3e
1 parent
bae3714545
Exists in
master
and in
2 other branches
예열 완료 조건 변경
- 습도 비교 없이 목표 온도 도달만 검사
Showing
2 changed files
with
2 additions
and
3 deletions
Show diff stats
app/gui/oven_control/autocook.cpp
| @@ -254,8 +254,7 @@ bool AutoCook::advance() | @@ -254,8 +254,7 @@ bool AutoCook::advance() | ||
| 254 | switch (Define::classify(currentStep.type)) | 254 | switch (Define::classify(currentStep.type)) |
| 255 | { | 255 | { |
| 256 | case Define::PreheatClass: | 256 | case Define::PreheatClass: |
| 257 | - if (oven->currentHumidity() >= currentStep.humidity | ||
| 258 | - && oven->currentTemp() >= currentStep.temp) | 257 | + if (oven->currentTemp() >= currentStep.temp) |
| 259 | { | 258 | { |
| 260 | nextStep(); | 259 | nextStep(); |
| 261 | 260 |
app/gui/oven_control/preheatpopup.cpp
| @@ -99,7 +99,7 @@ void PreheatPopup::showCurrentTemp() | @@ -99,7 +99,7 @@ void PreheatPopup::showCurrentTemp() | ||
| 99 | 99 | ||
| 100 | void PreheatPopup::onOvenChanged() | 100 | void PreheatPopup::onOvenChanged() |
| 101 | { | 101 | { |
| 102 | - if (oven->currentHumidity() >= oven->humidity() && oven->currentTemp() >= oven->temp()) | 102 | + if (oven->currentTemp() >= oven->temp()) |
| 103 | { | 103 | { |
| 104 | stop(); | 104 | stop(); |
| 105 | close(); | 105 | close(); |