diff --git a/app/gui/oven_control/define.h b/app/gui/oven_control/define.h index 0a65f1d..f8511bd 100644 --- a/app/gui/oven_control/define.h +++ b/app/gui/oven_control/define.h @@ -5,13 +5,14 @@ #define MAJOR_VER 2 #define MINOR_VER 0 -#define HOTFIX_VER 4 +#define HOTFIX_VER 5 // 0 for normal // 1 for premium -#define MODEL_GRADE 0 +#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();