From f7f98d02021e7990037854d219d82fb5b751aed6 Mon Sep 17 00:00:00 2001 From: byloveletter Date: Fri, 7 Jan 2022 15:52:01 +0900 Subject: [PATCH] =?UTF-8?q?=EC=84=B8=EC=B2=99=20=EC=9E=AC=EC=8B=9C?= =?UTF-8?q?=EC=9E=91=20=ED=95=98=EC=A7=80=20=EC=95=8A=EB=8A=94=20=EB=B2=84?= =?UTF-8?q?=EC=A0=84=20=EB=A6=B4=EB=A6=AC=EC=A6=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/gui/oven_control/define.h | 3 ++- app/gui/oven_control/haccp.cpp | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/app/gui/oven_control/define.h b/app/gui/oven_control/define.h index 951febe..d20e6ad 100644 --- a/app/gui/oven_control/define.h +++ b/app/gui/oven_control/define.h @@ -5,13 +5,14 @@ #define MAJOR_VER 1 #define MINOR_VER 6 -#define HOTFIX_VER 3 +#define HOTFIX_VER 4 // 0 for normal // 1 for premium #define MODEL_GRADE 1 #define ENABLE_WASH_RESUMING 0 +#define WATER_LEVEL_HACCP_STAMP 0 namespace Define { diff --git a/app/gui/oven_control/haccp.cpp b/app/gui/oven_control/haccp.cpp index 4080b12..a08ee94 100644 --- a/app/gui/oven_control/haccp.cpp +++ b/app/gui/oven_control/haccp.cpp @@ -664,8 +664,10 @@ void check() if (oven->door() != lastDoor) stamp(); +#if WATER_LEVEL_HACCP_STAMP if (udp->waterLevel() != lastWaterLevel) stamp(); +#endif if (lastStampedTime.elapsed() > 30 * 1000 - 100) stamp(); -- 2.1.4